Skip to content

Commit 1fa42ec

Browse files
authored
FIXES: coollabsio#3322 deploy DB alterations before updating
FIXES: coollabsio#3322 [Bug]: logto stop working after pulling latest image coollabsio#3322
1 parent e42c7e2 commit 1fa42ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/compose/logto.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ services:
99
depends_on:
1010
postgres:
1111
condition: service_healthy
12-
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"]
12+
entrypoint: ["sh", "-c", "npm run alteration deploy latest && npm run cli db seed -- --swe && npm start'"]
1313
environment:
1414
- TRUST_PROXY_HEADER=1
1515
- DB_URL=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-logto}

0 commit comments

Comments
 (0)