Move TZ from docker-compose to .env, document in .env.example
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5c8b3f895d
commit
3764d3e2ab
@ -7,5 +7,8 @@ POSTGRES_DB=umbra
|
|||||||
DATABASE_URL=postgresql+asyncpg://umbra:changeme_in_production@db:5432/umbra
|
DATABASE_URL=postgresql+asyncpg://umbra:changeme_in_production@db:5432/umbra
|
||||||
SECRET_KEY=change-this-to-a-random-secret-key-in-production
|
SECRET_KEY=change-this-to-a-random-secret-key-in-production
|
||||||
|
|
||||||
|
# Timezone (applied to backend + db containers via env_file)
|
||||||
|
TZ=Australia/Perth
|
||||||
|
|
||||||
# Integrations
|
# Integrations
|
||||||
OPENWEATHERMAP_API_KEY=your-openweathermap-api-key
|
OPENWEATHERMAP_API_KEY=your-openweathermap-api-key
|
||||||
|
|||||||
@ -3,8 +3,6 @@ services:
|
|||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file: .env
|
env_file: .env
|
||||||
environment:
|
|
||||||
- TZ=Australia/Perth
|
|
||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@ -19,8 +17,6 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
env_file: .env
|
env_file: .env
|
||||||
environment:
|
|
||||||
- TZ=Australia/Perth
|
|
||||||
depends_on:
|
depends_on:
|
||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user