Split production dependecies & update production configuration
This commit is contained in:
parent
0f66c5eb9b
commit
5a73707d61
12 changed files with 68 additions and 111 deletions
|
|
@ -2,6 +2,7 @@ version: "3.6"
|
|||
|
||||
volumes:
|
||||
logs:
|
||||
static-files:
|
||||
|
||||
services:
|
||||
nginx:
|
||||
|
|
@ -9,9 +10,10 @@ services:
|
|||
depends_on:
|
||||
django:
|
||||
condition: service_healthy
|
||||
env_file: ./.env
|
||||
ports:
|
||||
- "${NGINX_HTTP_PORT:-80}:80"
|
||||
- "${NGINX_HTTPS_PORT:-443}:443"
|
||||
volumes:
|
||||
- ./config/nginx/conf.d:/etc/nginx/conf.d
|
||||
- logs:/var/log/nginx
|
||||
- static-files:/app/static
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue