oh apparently I DID need to explicitly name .env

This commit is contained in:
Mouse Reeve 2020-10-16 13:20:12 -07:00
parent b8040cd0dc
commit cae7bbf834

View file

@ -15,6 +15,7 @@ services:
- media_volume:/app/images - media_volume:/app/images
db: db:
image: postgres image: postgres
env_file: .env
volumes: volumes:
- pgdata:/var/lib/postgresql/data - pgdata:/var/lib/postgresql/data
networks: networks:
@ -35,12 +36,14 @@ services:
- 8000:8000 - 8000:8000
redis: redis:
image: redis image: redis
env_file: .env
ports: ports:
- 6379:6379 - 6379:6379
networks: networks:
- main - main
restart: on-failure restart: on-failure
celery_worker: celery_worker:
env_file: .env
build: . build: .
networks: networks:
- main - main