Commit f567e7ab authored by Grant's avatar Grant
Browse files

add env_file for local vars in docker-compose

parent ad1a7854
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -10,12 +10,10 @@ services:
    ports:
      - "3000:3000"
    environment:
      - SESSION_SECRET=CHANGE ME TO RANDOM VALUE
      - REDIS_HOST=redis://redis
      - DATABASE_URL=postgres://postgres@postgres/canvas
      - AUTH_ENDPOINT=https://auth.fediverse.events
      - AUTH_CLIENT=canvas
      - AUTH_SECRET=${AUTH_SECRET}
    env_file:
      - .env.local
    depends_on:
      redis:
        condition: service_healthy