mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 12:54:20 +01:00
feat(docker): expose OpenCode port with required authentication
- Expose port 5551 in docker-compose.yml for direct OpenCode access - Add OPENCODE_HOST=0.0.0.0 environment variable for Docker deployments - Require OPENCODE_SERVER_PASSWORD when exposing OpenCode externally - Update internal connection logic to use 127.0.0.1 when bound to 0.0.0.0 - Update .env.example and Docker documentation with security requirements
This commit is contained in:
1 parent
26a8532cc6
commit
986554df66
5 files changed
+12
-4
No files matched your search
+2
-2
@@ -17,9 +17,9 @@ LOG_LEVEL=info
|
||||
OPENCODE_SERVER_PORT=5551
|
||||
OPENCODE_HOST=127.0.0.1
|
||||
|
||||
# Optional - bearer password required to talk to the spawned OpenCode server.
|
||||
# Required if OPENCODE_HOST is set to 0.0.0.0 or port 5551 is published.
|
||||
# When set, the backend spawns OpenCode with this password and attaches it to
|
||||
# every proxied request. Leave unset to disable OpenCode-level auth.
|
||||
# every proxied request. Leave unset only when OpenCode is bound to localhost.
|
||||
# OPENCODE_SERVER_PASSWORD=
|
||||
|
||||
# Optional - import an existing standalone OpenCode install on first startup
|
||||
|
||||
Reference in new issue
Block a user