Merge pull request #3480 from JustMrMendez/patch-1

FIXES: #3322 deploy DB alterations before starting the service
This commit is contained in:
Andras Bacsai
2024-09-23 11:33:55 +02:00
committed by GitHub

View File

@@ -9,7 +9,7 @@ services:
depends_on: depends_on:
postgres: postgres:
condition: service_healthy condition: service_healthy
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"] entrypoint: ["sh", "-c", "npm run alteration deploy latest && npm run cli db seed -- --swe && npm start'"]
environment: environment:
- SERVICE_FQDN_LOGTO - SERVICE_FQDN_LOGTO
- TRUST_PROXY_HEADER=1 - TRUST_PROXY_HEADER=1