feat: parameterize US port and bound sing-box logs

This commit is contained in:
Codex
2026-07-19 08:41:19 -07:00
parent 86969890a0
commit 469dcc3641
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
DOMAIN=dc9.example.com
ACME_EMAIL=admin@example.com
LISTEN_PORT=7364
USER1_PASSWORD=change-me
CLOUDFLARE_API_TOKEN=change-me
+2 -1
View File
@@ -4,6 +4,7 @@ services:
environment:
DOMAIN: ${DOMAIN}
ACME_EMAIL: ${ACME_EMAIL}
LISTEN_PORT: ${LISTEN_PORT}
USER1_PASSWORD: ${USER1_PASSWORD}
CLOUDFLARE_API_TOKEN: ${CLOUDFLARE_API_TOKEN}
volumes:
@@ -33,8 +34,8 @@ services:
driver: json-file
options:
max-size: 200k
max-file: "2"
volumes:
sing-box-config:
sing-box-data:
@@ -4,7 +4,7 @@
"type": "trojan",
"tag": "trojan-in",
"listen": "::",
"listen_port": 7364,
"listen_port": ${LISTEN_PORT},
"sniff": true,
"sniff_override_destination": true,
"users": [
@@ -41,4 +41,3 @@
"timestamp": true
}
}