fix: persist DC9 sing-box ACME storage

This commit is contained in:
Codex
2026-09-01 05:58:32 -07:00
parent 89707d1520
commit cae634d386
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -14,4 +14,4 @@ VLESS_PORT=22590
VLESS_UUID=00000000-0000-4000-8000-000000000000 VLESS_UUID=00000000-0000-4000-8000-000000000000
REALITY_SERVER_NAME=www.cloudflare.com REALITY_SERVER_NAME=www.cloudflare.com
REALITY_PRIVATE_KEY=change-me REALITY_PRIVATE_KEY=change-me
REALITY_SHORT_ID=01234567 REALITY_SHORT_ID=0123456789abcdef
+1 -1
View File
@@ -30,7 +30,7 @@ services:
restart: "no" restart: "no"
sing-box: sing-box:
image: ghcr.io/sagernet/sing-box:v1.12.13 image: ghcr.io/sagernet/sing-box:v1.14.0
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
config-render: config-render:
@@ -16,6 +16,7 @@
"server_name": "${DOMAIN}", "server_name": "${DOMAIN}",
"acme": { "acme": {
"domain": "${DOMAIN}", "domain": "${DOMAIN}",
"data_directory": "/var/lib/sing-box/certmagic-anytls",
"email": "${ACME_EMAIL}", "email": "${ACME_EMAIL}",
"dns01_challenge": { "dns01_challenge": {
"provider": "cloudflare", "provider": "cloudflare",