3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-14 21:31:50 +00:00

build: copy updates to lightweight compose file

This commit is contained in:
Dragory 2024-03-30 15:51:04 +00:00
parent 9e65f05b23
commit af57622bbc
No known key found for this signature in database

View file

@ -5,11 +5,15 @@ services:
depends_on:
mysql:
condition: service_healthy
build:
build: &build
context: .
dockerfile: docker/production/zeppelin/Dockerfile
args:
# Used at compile-time by dashboard
API_URL:
environment:
HOST_MODE: lightweight
env_file:
- .env
working_dir: /zeppelin
command: ["npm", "run", "migrate-prod"]
@ -17,13 +21,12 @@ services:
depends_on:
migrate:
condition: service_completed_successfully
build:
context: .
dockerfile: docker/production/zeppelin/Dockerfile
build: *build
restart: on-failure
environment:
DEBUG: ${DEBUG-}
HOST_MODE: lightweight
env_file:
- .env
ports:
- "${LIGHTWEIGHT_API_PORT}:3001"
working_dir: /zeppelin/backend
@ -33,13 +36,12 @@ services:
depends_on:
migrate:
condition: service_completed_successfully
build:
context: .
dockerfile: docker/production/zeppelin/Dockerfile
build: *build
restart: on-failure
environment:
DEBUG: ${DEBUG-}
HOST_MODE: lightweight
env_file:
- .env
working_dir: /zeppelin/backend
command: ["npm", "run", "start-bot-prod"]
@ -47,13 +49,12 @@ services:
depends_on:
migrate:
condition: service_completed_successfully
build:
context: .
dockerfile: docker/production/zeppelin/Dockerfile
build: *build
restart: on-failure
environment:
DEBUG: ${DEBUG-}
HOST_MODE: lightweight
env_file:
- .env
ports:
- "${LIGHTWEIGHT_DASHBOARD_PORT}:3002"
working_dir: /zeppelin/dashboard