feat(compose): add web-next service (side-by-side with web-view)
This commit is contained in:
parent
96fa650caf
commit
17b38a7c35
@ -25,6 +25,12 @@ services:
|
||||
image: "${CM_IMAGE_PREFIX:-local}/cm-web:${DOCKER_IMAGE_TAG:-dev}"
|
||||
command: ["python", "-m", "app.cm_web_view"]
|
||||
|
||||
web-next:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: docker/web-next/Dockerfile
|
||||
image: "${CM_IMAGE_PREFIX:-local}/cm-web-next:${DOCKER_IMAGE_TAG:-dev}"
|
||||
|
||||
transfer-bot:
|
||||
build:
|
||||
context: .
|
||||
|
||||
@ -72,6 +72,25 @@ services:
|
||||
depends_on:
|
||||
- api-server
|
||||
|
||||
# Next.js Web View (side-by-side with web-view during B-cycle migration).
|
||||
web-next:
|
||||
image: "${CM_IMAGE_PREFIX:-your-registry/namespace}/cm-web-next:${DOCKER_IMAGE_TAG:-latest}"
|
||||
container_name: ${CM_DEPLOY_NAME:-cm}-web-next
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${CM_WEB_NEXT_HOST_PORT:-8010}:3000"
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
NEXT_TELEMETRY_DISABLED: "1"
|
||||
API_BASE_URL: http://api-server:3000
|
||||
volumes:
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
networks:
|
||||
- bot-network
|
||||
depends_on:
|
||||
- api-server
|
||||
|
||||
transfer-bot:
|
||||
image: "${CM_IMAGE_PREFIX:-your-registry/namespace}/cm-transfer:${DOCKER_IMAGE_TAG:-latest}"
|
||||
container_name: ${CM_DEPLOY_NAME:-cm}-transfer-bot
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user