Add Codex multi-workspace config and Linux/mac run script.
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
# Alternative to run-workspaces.sh — edit the four volume sources, then:
|
||||
# docker compose -f examples/codex/docker-compose.yml up -d
|
||||
#
|
||||
# Image: 192.168.3.80/melabidi/mcp_web_dev_server:latest
|
||||
# Codex: merge examples/codex/config.toml into ~/.codex/config.toml
|
||||
|
||||
services:
|
||||
web-dev-ws1:
|
||||
image: 192.168.3.80/melabidi/mcp_web_dev_server:latest
|
||||
container_name: web-dev-ws1
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:3939:3939"
|
||||
volumes:
|
||||
- /path/to/workspace1:/workspace
|
||||
|
||||
web-dev-ws2:
|
||||
image: 192.168.3.80/melabidi/mcp_web_dev_server:latest
|
||||
container_name: web-dev-ws2
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:3940:3939"
|
||||
volumes:
|
||||
- /path/to/workspace2:/workspace
|
||||
|
||||
web-dev-ws3:
|
||||
image: 192.168.3.80/melabidi/mcp_web_dev_server:latest
|
||||
container_name: web-dev-ws3
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:3941:3939"
|
||||
volumes:
|
||||
- /path/to/workspace3:/workspace
|
||||
|
||||
web-dev-ws4:
|
||||
image: 192.168.3.80/melabidi/mcp_web_dev_server:latest
|
||||
container_name: web-dev-ws4
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "127.0.0.1:3942:3939"
|
||||
volumes:
|
||||
- /path/to/workspace4:/workspace
|
||||
Reference in New Issue
Block a user