3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-06-16 02:55:03 +00:00

refactor: use prebuilt image in standalone compose

This commit is contained in:
Dragory 2025-06-01 02:43:36 +00:00
parent f9007a710b
commit 44452ee573
No known key found for this signature in database
2 changed files with 5 additions and 8 deletions

View file

@ -33,14 +33,10 @@ services:
- "${STANDALONE_WEB_PORT:?Missing STANDALONE_WEB_PORT}:443"
migrate:
image: dragory/zeppelin
depends_on:
mysql:
condition: service_healthy
build: &build
context: .
args:
# Used at compile-time by dashboard
API_URL:
environment: &env
- NODE_ENV=production
- DB_HOST=mysql
@ -55,10 +51,10 @@ services:
command: ["npm", "run", "migrate-prod"]
api:
image: dragory/zeppelin
depends_on:
migrate:
condition: service_completed_successfully
build: *build
restart: on-failure
environment: *env
env_file:
@ -67,10 +63,10 @@ services:
command: ["npm", "run", "start-api-prod"]
bot:
image: dragory/zeppelin
depends_on:
migrate:
condition: service_completed_successfully
build: *build
restart: on-failure
environment: *env
env_file:
@ -79,10 +75,10 @@ services:
command: ["npm", "run", "start-bot-prod"]
dashboard:
image: dragory/zeppelin
depends_on:
migrate:
condition: service_completed_successfully
build: *build
restart: on-failure
environment: *env
env_file: