mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
section 16: Phase 16: Documentation, container ports and full repository checks
This commit is contained in:
1 parent
81a9f0c8ef
commit
a383e57bc5
55 files changed
+4095
-59
No files matched your search
@@ -40,6 +40,7 @@ services:
|
||||
container_name: opencode-manager
|
||||
ports:
|
||||
- "5003:5003"
|
||||
- "5004:5004"
|
||||
- "5100:5100"
|
||||
- "5101:5101"
|
||||
- "5102:5102"
|
||||
@@ -157,7 +158,14 @@ ports:
|
||||
|
||||
### Dev Server Ports
|
||||
|
||||
Ports 5100-5103 are exposed for running dev servers inside repositories:
|
||||
Port 5004 is the [preview gateway](../features/preview.md). It proxies a running dev server through an authenticated origin and supports HMR, so it is the recommended way to view a dev server:
|
||||
|
||||
```yaml
|
||||
ports:
|
||||
- "5004:5004"
|
||||
```
|
||||
|
||||
Ports 5100-5103 remain exposed for running dev servers inside repositories and reaching them directly:
|
||||
|
||||
```yaml
|
||||
ports:
|
||||
@@ -167,6 +175,8 @@ ports:
|
||||
- "5103:5103"
|
||||
```
|
||||
|
||||
Exposing these raw ports bypasses the preview gateway's authentication and same-origin isolation. Prefer the gateway unless you need direct access to a dev server.
|
||||
|
||||
Configure your dev server to use one of these ports:
|
||||
|
||||
=== "Vite"
|
||||
|
||||
Reference in new issue
Block a user