fix: add missing database alteration step for latest image version
When upgrading to the latest image version, the database alteration command was missing, causing the application to fail due to schema mismatch. This change ensures the database is properly migrated to the latest version during startup.
This commit is contained in:
parent
968508583d
commit
903837c96a
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ services:
|
|||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"]
|
||||
entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm run alteration deploy latest && npm start"]
|
||||
environment:
|
||||
- SERVICE_URL_LOGTO
|
||||
- TRUST_PROXY_HEADER=1
|
||||
|
|
|
|||
Loading…
Reference in a new issue