fix: use owner-level unidesk state

This commit is contained in:
Codex
2026-07-10 05:09:13 +02:00
parent 01ff35d0f8
commit fbd9dbbae1
48 changed files with 133 additions and 148 deletions
+1 -1
View File
@@ -286,7 +286,7 @@ app:
publicExposure:
enabled: true
publicBaseUrl: https://gitea.pikapython.com
secretRoot: /root/unidesk/.state/secrets
secretRoot: /root/.unidesk/.state/secrets
dns:
hostname: gitea.pikapython.com
expectedA: 82.156.23.220
+3 -3
View File
@@ -18,7 +18,7 @@ server:
serviceName: sub2api-master-egress-proxy
containerName: unidesk-sub2api-master-egress-proxy
image: ghcr.io/shadowsocks/ssserver-rust:latest
configPath: /root/unidesk/.state/secrets/platform-infra/sub2api-master-egress-proxy.config.json
configPath: /root/.unidesk/.state/secrets/platform-infra/sub2api-master-egress-proxy.config.json
listenHost: 0.0.0.0
listenPort: 18792
health:
@@ -95,11 +95,11 @@ templates:
mode: trans-static-binary
upstreamUrl: https://github.com/SagerNet/sing-box/releases/download/v1.13.14/sing-box-1.13.14-linux-amd64.tar.gz
version: v1.13.14
archiveCachePath: .state/artifacts/platform-infra/sing-box-1.13.14-linux-amd64.tar.gz
archiveCachePath: /root/.unidesk/.state/artifacts/platform-infra/sing-box-1.13.14-linux-amd64.tar.gz
archiveSha256: f48703461a15476951ac4967cdad339d986f4b8096b4eb3ff0829a500502d697
archiveInstallPath: /var/cache/unidesk/host-egress-proxy/sing-box-1.13.14-linux-amd64.tar.gz
binaryMember: sing-box-1.13.14-linux-amd64/sing-box
binaryCachePath: .state/artifacts/platform-infra/sing-box-1.13.14-linux-amd64
binaryCachePath: /root/.unidesk/.state/artifacts/platform-infra/sing-box-1.13.14-linux-amd64
binarySha256: 68aeab83cc4ab2659a5b92232261a20746ccdafc3b3d1e19b2d63247eec3bbf7
installPath: /usr/local/bin/sing-box
configPath: /etc/unidesk/host-egress-proxy/sing-box.json
+1 -1
View File
@@ -67,7 +67,7 @@ runtime:
sslMode: require
appDatabaseValue: langbot?ssl=require
secrets:
root: /root/unidesk/.state/secrets
root: /root/.unidesk/.state/secrets
appSourceRef: platform-infra/langbot.env
storage:
data:
+1 -1
View File
@@ -67,7 +67,7 @@ runtime:
sslMode: require
sslRejectUnauthorized: false
secrets:
root: /root/unidesk/.state/secrets
root: /root/.unidesk/.state/secrets
appSourceRef: platform-infra/n8n.env
encryptionKey: N8N_ENCRYPTION_KEY
storage:
@@ -12,5 +12,5 @@ services:
ports:
- "0.0.0.0:18792:18792/tcp"
volumes:
- /root/unidesk/.state/secrets/platform-infra/sub2api-master-egress-proxy.config.json:/etc/shadowsocks-rust/config.json:ro
- /root/.unidesk/.state/secrets/platform-infra/sub2api-master-egress-proxy.config.json:/etc/shadowsocks-rust/config.json:ro
logging: *unidesk-log-rotation
+1 -1
View File
@@ -441,7 +441,7 @@ runtime:
sslMode: require
pendingAllowed: true
secrets:
root: /root/unidesk/.state/secrets
root: /root/.unidesk/.state/secrets
appSourceRef: platform-infra/sub2api.env
redis:
serviceName: sub2api-redis
+2 -2
View File
@@ -46,7 +46,7 @@ n8n:
archiveCallback:
publicUrl: http://74.48.78.17:18081/webhooks/wechat-archive
secretRoot: /root/unidesk/.state/secrets
secretRoot: /root/.unidesk/.state/secrets
tokenSourceRef: platform-infra/wechat-archive.env
tokenKey: UNIDESK_WECHAT_ARCHIVE_TOKEN
timeoutMs: 90000
@@ -160,7 +160,7 @@ baiduNetdisk:
proxyMode: backend-core-microservice-proxy
configRef: config.json#microservices.baidu-netdisk
staging:
hostRoot: /root/unidesk/.state/baidu-netdisk/staging
hostRoot: /root/.unidesk/.state/baidu-netdisk/staging
containerRoot: /data/staging
outboxDir: wechat-archive/outbox
pullDir: wechat-archive/pulls