diff --git a/templates/compose/logto.yaml b/templates/compose/logto.yaml index 8ba47fcf0..d806760ad 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}