refactor: Update environment variables for services in compose files

This commit is contained in:
Andras Bacsai
2024-09-23 09:26:53 +02:00
parent ff9b68b450
commit 341c7e3598
6 changed files with 24 additions and 19 deletions

View File

@@ -11,6 +11,7 @@ services:
condition: service_healthy
entrypoint: ["sh", "-c", "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;