mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
build: copy updates to lightweight compose file
This commit is contained in:
parent
9e65f05b23
commit
af57622bbc
1 changed files with 15 additions and 14 deletions
|
@ -5,11 +5,15 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
mysql:
|
mysql:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
build:
|
build: &build
|
||||||
context: .
|
context: .
|
||||||
dockerfile: docker/production/zeppelin/Dockerfile
|
args:
|
||||||
|
# Used at compile-time by dashboard
|
||||||
|
API_URL:
|
||||||
environment:
|
environment:
|
||||||
HOST_MODE: lightweight
|
HOST_MODE: lightweight
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
working_dir: /zeppelin
|
working_dir: /zeppelin
|
||||||
command: ["npm", "run", "migrate-prod"]
|
command: ["npm", "run", "migrate-prod"]
|
||||||
|
|
||||||
|
@ -17,13 +21,12 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
migrate:
|
migrate:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
build:
|
build: *build
|
||||||
context: .
|
|
||||||
dockerfile: docker/production/zeppelin/Dockerfile
|
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
environment:
|
environment:
|
||||||
DEBUG: ${DEBUG-}
|
|
||||||
HOST_MODE: lightweight
|
HOST_MODE: lightweight
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
ports:
|
ports:
|
||||||
- "${LIGHTWEIGHT_API_PORT}:3001"
|
- "${LIGHTWEIGHT_API_PORT}:3001"
|
||||||
working_dir: /zeppelin/backend
|
working_dir: /zeppelin/backend
|
||||||
|
@ -33,13 +36,12 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
migrate:
|
migrate:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
build:
|
build: *build
|
||||||
context: .
|
|
||||||
dockerfile: docker/production/zeppelin/Dockerfile
|
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
environment:
|
environment:
|
||||||
DEBUG: ${DEBUG-}
|
|
||||||
HOST_MODE: lightweight
|
HOST_MODE: lightweight
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
working_dir: /zeppelin/backend
|
working_dir: /zeppelin/backend
|
||||||
command: ["npm", "run", "start-bot-prod"]
|
command: ["npm", "run", "start-bot-prod"]
|
||||||
|
|
||||||
|
@ -47,13 +49,12 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
migrate:
|
migrate:
|
||||||
condition: service_completed_successfully
|
condition: service_completed_successfully
|
||||||
build:
|
build: *build
|
||||||
context: .
|
|
||||||
dockerfile: docker/production/zeppelin/Dockerfile
|
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
environment:
|
environment:
|
||||||
DEBUG: ${DEBUG-}
|
|
||||||
HOST_MODE: lightweight
|
HOST_MODE: lightweight
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
ports:
|
ports:
|
||||||
- "${LIGHTWEIGHT_DASHBOARD_PORT}:3002"
|
- "${LIGHTWEIGHT_DASHBOARD_PORT}:3002"
|
||||||
working_dir: /zeppelin/dashboard
|
working_dir: /zeppelin/dashboard
|
||||||
|
|
Loading…
Add table
Reference in a new issue