Files
creator-hub/compose.dev.yaml
T

24 lines
748 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
# 本地热加载开发用 override:只跑 postgres + docker-gateway,宿主机直接跑 control-plane 与前端。
# 用法:docker compose -f compose.yaml -f compose.dev.yaml up -d \
# postgres docker-gateway
services:
creator-hub:
# 本地开发不跑容器版 control-planeprofile 化后不启动。
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}