fix: use owner-level unidesk state
This commit is contained in:
+4
-4
@@ -87,7 +87,7 @@ services:
|
||||
UNIDESK_LOG_RETENTION_BYTES: "${UNIDESK_LOG_RETENTION_BYTES:-512MiB}"
|
||||
volumes:
|
||||
- ${UNIDESK_LOG_DIR}:/var/log/unidesk
|
||||
- ./.state/baidu-netdisk/staging:/data/baidu-netdisk-staging
|
||||
- /root/.unidesk/.state/baidu-netdisk/staging:/data/baidu-netdisk-staging
|
||||
healthcheck:
|
||||
test:
|
||||
- "CMD-SHELL"
|
||||
@@ -171,7 +171,7 @@ services:
|
||||
UNIDESK_LOG_RETENTION_BYTES: "${UNIDESK_LOG_RETENTION_BYTES:-512MiB}"
|
||||
volumes:
|
||||
- ${UNIDESK_LOG_DIR}:/var/log/unidesk
|
||||
- ./.state/code-agent-sandbox:/var/lib/unidesk/code-agent-sandbox
|
||||
- /root/.unidesk/.state/code-agent-sandbox:/var/lib/unidesk/code-agent-sandbox
|
||||
healthcheck:
|
||||
test: ["CMD", "bun", "-e", "fetch('http://127.0.0.1:4260/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
|
||||
interval: 5s
|
||||
@@ -362,7 +362,7 @@ services:
|
||||
UNIDESK_DEPLOY_REQUESTED_COMMIT: "${UNIDESK_BAIDU_NETDISK_DEPLOY_REQUESTED_COMMIT:-}"
|
||||
volumes:
|
||||
- ${UNIDESK_LOG_DIR}:/var/log/unidesk
|
||||
- ./.state/baidu-netdisk/staging:/data/staging
|
||||
- /root/.unidesk/.state/baidu-netdisk/staging:/data/staging
|
||||
healthcheck:
|
||||
test: ["CMD", "bun", "-e", "fetch('http://127.0.0.1:4244/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
|
||||
interval: 5s
|
||||
@@ -493,7 +493,7 @@ services:
|
||||
command: ["bun", "/workspace/scripts/runtime/pk01-postgres-relay.js"]
|
||||
volumes:
|
||||
- .:/workspace:ro
|
||||
- ${UNIDESK_LOG_DIR:-./.state/logs}:/var/log/unidesk
|
||||
- ${UNIDESK_LOG_DIR:-/root/.unidesk/.state/logs}:/var/log/unidesk
|
||||
healthcheck:
|
||||
test: ["CMD", "bun", "/workspace/scripts/runtime/pk01-postgres-relay.js", "--healthcheck"]
|
||||
interval: 10s
|
||||
|
||||
Reference in New Issue
Block a user