mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 21:04:23 +01:00
feat(docker): run container as host user with bind-mounted workspace
This commit is contained in:
1 parent
a73ac19bbc
commit
4cdd3d7d0b
10 files changed
+716
-4
No files matched your search
+3
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user