feat(docker): run container as host user with bind-mounted workspace

This commit is contained in:
CS committed 2026-07-28 11:06:05 -04:00
1 parent a73ac19bbc
commit 4cdd3d7d0b
10 files changed
+716 -4

No files matched your search

+3 -1
View File
@@ -14,6 +14,8 @@ services:
- "5103:5103"
environment:
- NODE_ENV=${NODE_ENV:-production}
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
- HOST=0.0.0.0
- PORT=5003
- OPENCODE_SERVER_PORT=5551
@@ -46,7 +48,7 @@ services:
- VAPID_PRIVATE_KEY=${VAPID_PRIVATE_KEY:-}
- VAPID_SUBJECT=${VAPID_SUBJECT:-}
volumes:
- opencode-workspace:/workspace
- ${OCM_WORKSPACE_HOST_PATH:-opencode-workspace}:/workspace
- opencode-data:/app/data
restart: unless-stopped
healthcheck: