update docker compose

This commit is contained in:
Mohamed Nouffer
2023-07-15 10:46:32 +05:30
parent 8d106ffbfd
commit 33431d937f
3 changed files with 6 additions and 3 deletions

View File

@ -25,6 +25,7 @@ services:
volumes:
- .:/app
- static_volume:/app/static
- media_volume:/app/media
env_file:
- .env
restart: "on-failure"
@ -38,6 +39,7 @@ services:
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- static_volume:/app/static
- media_volume:/app/media
ports:
- 8100:80
depends_on:
@ -52,3 +54,4 @@ networks:
volumes:
postgres_data:
static_volume:
media_volume: