24 lines
748 B
YAML
24 lines
748 B
YAML
---
|
||
# 本地热加载开发用 override:只跑 postgres + docker-gateway,宿主机直接跑 control-plane 与前端。
|
||
# 用法:docker compose -f compose.yaml -f compose.dev.yaml up -d \
|
||
# postgres docker-gateway
|
||
services:
|
||
creator-hub:
|
||
# 本地开发不跑容器版 control-plane;profile 化后不启动。
|
||
profiles: [compose-only]
|
||
|
||
postgres:
|
||
ports:
|
||
- "5432:5432"
|
||
|
||
docker-gateway:
|
||
ports:
|
||
- "8081:8081"
|
||
extra_hosts:
|
||
- "host.docker.internal:host-gateway"
|
||
environment:
|
||
BROWSER_CDP_URL: ${BROWSER_CDP_URL:-}
|
||
BROWSER_CDP_TARGET_ID: ${BROWSER_CDP_TARGET_ID:-}
|
||
BROWSER_CDP_ALIAS: ${BROWSER_CDP_ALIAS:-local-cdp}
|
||
BROWSER_CDP_NETWORK_ID: ${BROWSER_CDP_NETWORK_ID:-local-cdp}
|