mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 04:14:59 +00:00
FIXES: #3322 deploy DB alterations before updating
FIXES: #3322 [Bug]: logto stop working after pulling latest image #3322
This commit is contained in:
1 parent
e42c7e258c
commit
1fa42ec82d
1 file changed
+1
-1
@@ -9,7 +9,7 @@ services:
|
||||
depends_on:
|
||||
postgres:
|
||||
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:
|
||||
- TRUST_PROXY_HEADER=1
|
||||
- DB_URL=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-logto}
|
||||
|
||||
Reference in new issue
Block a user