feat(compose): keep Flask dev server in dev override; expose api-server on localhost
This commit is contained in:
parent
1d4ecadfaa
commit
5c8483fa09
@ -11,6 +11,9 @@ services:
|
||||
context: .
|
||||
dockerfile: docker/api/Dockerfile
|
||||
image: "${CM_IMAGE_PREFIX:-local}/cm-api:${DOCKER_IMAGE_TAG:-dev}"
|
||||
command: ["python", "-m", "app.cm_api"]
|
||||
ports:
|
||||
- "127.0.0.1:3000:3000"
|
||||
depends_on:
|
||||
mysql:
|
||||
condition: service_healthy
|
||||
@ -20,6 +23,7 @@ services:
|
||||
context: .
|
||||
dockerfile: docker/web/Dockerfile
|
||||
image: "${CM_IMAGE_PREFIX:-local}/cm-web:${DOCKER_IMAGE_TAG:-dev}"
|
||||
command: ["python", "-m", "app.cm_web_view"]
|
||||
|
||||
transfer-bot:
|
||||
build:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user