Skip to content

Commit

Permalink
Add DEBUG environment variable and update nginx path
Browse files Browse the repository at this point in the history
  • Loading branch information
scaphilo committed Apr 6, 2024
1 parent 62e379a commit 318189b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ services:
- SQL_PORT=5432
- SECRET_KEY=SECRETKEYOFYOURCHOICE
- DJANGO_ALLOWED_HOSTS=localhost 0.0.0.0 127.0.0.1
- DEBUG=True
volumes:
- static_volume:/usr/src/app/static
- media_volume:/usr/src/app/media
Expand All @@ -31,7 +32,7 @@ services:
ports:
- "80:80"
volumes:
- nginx.conf:/etc/nginx/conf.d/default.conf
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- static_volume:/usr/src/app/static
- media_volume:/usr/src/app/media
depends_on:
Expand Down

0 comments on commit 318189b

Please sign in to comment.