Skip to content

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.

Merge pull request #3480 from JustMrMendez/patch-1

Andras Bacsai310708f1b6f4
diff --cc templates/compose/logto.yaml
index 52f2f3b1bc,d806760ad3..88a7acec4f
--- a/templates/compose/logto.yaml
+++ b/templates/compose/logto.yaml
@@@ -9,9 -9,8 +9,9 @@@ 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:
+ - SERVICE_FQDN_LOGTO
- TRUST_PROXY_HEADER=1
- DB_URL=postgres://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/${POSTGRES_DB:-logto}
# Mandatory for GitPod to map host env to the container, thus GitPod can dynamically configure the public URL of Logto;