fix: pass all .env vars to cameleer-saas via env_file
Instead of explicitly listing every env var the SaaS container needs, use env_file to pass the entire .env. This ensures all installer- configured values (passwords, hosts, ports, etc.) are available for current and future use by the SaaS app and its provisioning config. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -116,6 +116,9 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
logto:
|
logto:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
env_file:
|
||||||
|
- path: .env
|
||||||
|
required: false
|
||||||
volumes:
|
volumes:
|
||||||
- bootstrapdata:/data/bootstrap:ro
|
- bootstrapdata:/data/bootstrap:ro
|
||||||
- certs:/certs
|
- certs:/certs
|
||||||
|
|||||||
@@ -840,6 +840,8 @@ EOF
|
|||||||
depends_on:
|
depends_on:
|
||||||
logto:
|
logto:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
environment:
|
environment:
|
||||||
DOCKER_HOST: unix:///var/run/docker.sock
|
DOCKER_HOST: unix:///var/run/docker.sock
|
||||||
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/cameleer_saas
|
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/cameleer_saas
|
||||||
|
|||||||
Reference in New Issue
Block a user