Skip to content
Snippets Groups Projects
Commit f567e7ab authored by Grant's avatar Grant
Browse files

add env_file for local vars in docker-compose

parent ad1a7854
No related branches found
No related tags found
No related merge requests found
...@@ -10,12 +10,10 @@ services: ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment