fix: хранить конфиг sing-box в volume (dataDir), а не в /etc/sing-box
All checks were successful
Build and Deploy Gateway / build-and-deploy (push) Successful in 5s
All checks were successful
Build and Deploy Gateway / build-and-deploy (push) Successful in 5s
This commit is contained in:
@@ -9,7 +9,7 @@ export const settings = {
|
||||
bindIp: process.env.PROXY_BIND_IP || "127.0.0.1",
|
||||
dataDir,
|
||||
distDir: process.env.DIST_DIR || "/app/dist",
|
||||
configPath: process.env.SING_BOX_CONFIG || "/etc/sing-box/config.json",
|
||||
configPath: process.env.SING_BOX_CONFIG || path.join(dataDir, "sing-box-config.json"),
|
||||
cachePath: process.env.SING_BOX_CACHE || "/var/lib/sing-box/cache.db",
|
||||
statePath: path.join(dataDir, "state.json"),
|
||||
customRulesPath: path.join(dataDir, "custom-rules.json"),
|
||||
|
||||
Reference in New Issue
Block a user