mirror of
https://github.com/nitezs/sub2clash.git
synced 2024-12-24 10:54:43 -05:00
8d06ab3175
fix: 修复当订阅链接有多个 clash 配置时丢失节点的问题 update: 增加检测更新 modify: 修改数据库路径 modify: 修改短链生成逻辑 modify: 统一输出信息
22 lines
518 B
YAML
22 lines
518 B
YAML
version: '3'
|
|
|
|
services:
|
|
sub2clash:
|
|
container_name: sub2clash
|
|
restart: unless-stopped
|
|
image: ghcr.io/nitezs/sub2clash:latest
|
|
ports:
|
|
- "8011:8011"
|
|
volumes:
|
|
- ./logs:/app/logs
|
|
- ./templates:/app/templates
|
|
- ./data:/app/data
|
|
# 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
|