Skip to content

Commit

Permalink
Change location of environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
okeneo committed Mar 4, 2024
1 parent 76eb2bd commit 0117087
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
- "8000"
entrypoint: ./entrypoint-api.sh
env_file:
- ./backend/.env.dev
- .env.prod
volumes:
- staticfiles:/staticfiles
depends_on:
Expand All @@ -25,7 +25,7 @@ services:
environment:
- CELERY_BROKER=redis://redis:6379/0
env_file:
- ./backend/.env.dev
- .env.prod
depends_on:
- api
- redis
Expand All @@ -40,7 +40,7 @@ services:
image: postgres:15-alpine
volumes:
- postgres_data:/var/lib/postgresql/data/
env_file: ./backend/.env.prod.db
env_file: .env.prod.db
expose:
- "5432"

Expand All @@ -52,7 +52,7 @@ services:
- "80:80"
- "443:443"
env_file:
- ./backend/.env.dev
- .env.prod
volumes:
- staticfiles:/staticfiles
- frontend_build:/var/www/frontend
Expand All @@ -68,7 +68,7 @@ services:
dockerfile: Dockerfile
command: echo "Skipping..."
env_file:
- ./backend/.env.dev
- .env.prod
volumes:
- certbot_certs:/etc/letsencrypt
- certbot_web:/var/www/certbot
Expand Down

0 comments on commit 0117087

Please sign in to comment.