diff --git a/config/template/tls_cert_config.json b/config/template/tls_cert_config.json index e96c273..bfa6954 100644 --- a/config/template/tls_cert_config.json +++ b/config/template/tls_cert_config.json @@ -27,6 +27,7 @@ "acme": { "domain": ["你的域名"], "email": "你的邮箱", + "data_directory": "/etc/sing-box/acme", "dns01_challenge": { "provider": "cloudflare", "api_token": "你的Cloudflare_API_Token" @@ -54,4 +55,4 @@ ], "final": "direct" } -} \ No newline at end of file +} diff --git a/docker-compose.yml b/docker-compose.yml index e3a5882..000ea04 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,4 +7,5 @@ services: volumes: - ./config/config.json:/etc/sing-box/config.json - ./tls:/etc/sing-box/tls + - ./acme:/etc/sing-box/acme command: -C /etc/sing-box run \ No newline at end of file