An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
FIXES: #3322 deploy DB alterations before updating
Mr. Mendez1fa42ec82d90
diff --git a/templates/compose/logto.yaml b/templates/compose/logto.yamlindex 8ba47fcf0e..d806760ad3 100644--- a/templates/compose/logto.yaml+++ b/templates/compose/logto.yaml@@ -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}