add env_file for local vars in docker-compose
This commit is contained in:
parent
ad1a785451
commit
f567e7abd1
|
@ -10,12 +10,10 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
environment:
|
environment:
|
||||||
- SESSION_SECRET=CHANGE ME TO RANDOM VALUE
|
|
||||||
- REDIS_HOST=redis://redis
|
- REDIS_HOST=redis://redis
|
||||||
- DATABASE_URL=postgres://postgres@postgres/canvas
|
- DATABASE_URL=postgres://postgres@postgres/canvas
|
||||||
- AUTH_ENDPOINT=https://auth.fediverse.events
|
env_file:
|
||||||
- AUTH_CLIENT=canvas
|
- .env.local
|
||||||
- AUTH_SECRET=${AUTH_SECRET}
|
|
||||||
depends_on:
|
depends_on:
|
||||||
redis:
|
redis:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
Loading…
Reference in New Issue