FIXES: #3322 deploy DB alterations before updating
FIXES: #3322 [Bug]: logto stop working after pulling latest image #3322
This commit is contained in:
@@ -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:
|
||||||
- TRUST_PROXY_HEADER=1
|
- TRUST_PROXY_HEADER=1
|
||||||
- DB_URL=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-logto}
|
- DB_URL=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-logto}
|
||||||
|
Reference in New Issue
Block a user