-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.override.example.yml
More file actions
50 lines (47 loc) · 2.17 KB
/
Copy pathdocker-compose.override.example.yml
File metadata and controls
50 lines (47 loc) · 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Local overrides — copy to docker-compose.override.yml (auto-loaded by Compose).
#
# Post-init scripts: docker/init.d/*.sh run at container startup before the API.
# Mount the directory read-only so scripts can be added/edited without rebuilding.
#
# Project directories: mount at identical paths so configs/app.json works as-is.
services:
api:
volumes:
- ./docker/init.d:/app/docker/init.d:ro
- /home/you/Projects/my-project:/home/you/Projects/my-project
- /home/you/Projects/another-repo:/home/you/Projects/another-repo
# Uncomment and adjust if an upstream edge proxy / L7 gateway on a
# different host on your LAN needs to forward requests to /ide/ at
# this machine. The default in docker-compose.yml binds loopback-only
# (safe). Use ``!override`` so this list replaces the default instead
# of merging with it.
#
# ide-proxy:
# ports: !override
# - "0.0.0.0:5126:8080" # all interfaces, or:
# - "192.168.1.10:5126:8080" # a specific LAN IP
# Web IDE on a bridge-networked API: the base compose runs the api with
# network_mode: host, where it reaches the ide-proxy on loopback
# (the default web_ide.proxy_url = http://127.0.0.1:5126). If you instead
# drop host networking here (e.g. to get LAN-accessible DNAT or to join
# other compose networks), the api can no longer reach that loopback —
# join it to the `mewbo-ide` network and point the probe at the proxy's
# in-network name via app.json: agent.web_ide.proxy_url =
# "http://mewbo-ide-proxy:8080". Otherwise readiness probes silently fail
# and the IDE loader times out waiting for the container to become ready.
#
# api:
# network_mode: !reset null
# networks:
# - default
# - mewbo-ide # <-- reach the ide-proxy by DNS name
# # ...your other networks
# mewbo-mcp uses network_mode: host so it binds 0.0.0.0 inside the host
# network by default (MEWBO_MCP_HOST=0.0.0.0 in docker-compose.yml).
# If you need to restrict the bind to loopback or a specific interface,
# override the environment here:
#
# mewbo-mcp:
# environment:
# - MEWBO_MCP_HOST=127.0.0.1 # loopback-only
# - MEWBO_MCP_PORT=5127