2023-09-13 03:52:37 -04:00
|
|
|
version: '3'
|
2023-09-13 03:44:48 -04:00
|
|
|
|
|
|
|
services:
|
|
|
|
sub2clash:
|
|
|
|
container_name: sub2clash
|
|
|
|
restart: unless-stopped
|
|
|
|
image: ghcr.io/nitezs/sub2clash:latest
|
2023-09-13 03:52:37 -04:00
|
|
|
ports:
|
|
|
|
- "8011:8011"
|
2023-09-13 03:44:48 -04:00
|
|
|
volumes:
|
|
|
|
- ./logs:/app/logs
|
2023-09-20 21:08:02 -04:00
|
|
|
- ./templates:/app/templates
|
|
|
|
- ./data:/app/data
|
2023-09-14 05:59:17 -04:00
|
|
|
# environment:
|
|
|
|
# - PORT=8011
|
|
|
|
# - META_TEMPLATE=template_meta.yaml
|
|
|
|
# - PROXY_TEMPLATE=template_clash.yaml
|
|
|
|
# - REQUEST_RETRY_TIMES=3
|
|
|
|
# - REQUEST_MAX_FILE_SIZE=1048576
|
|
|
|
# - CACHE_EXPIRE=300
|
|
|
|
# - LOG_LEVEL=info
|