mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-07 13:34:53 +03:00
Re-order django and postgres services in production.yml
This commit is contained in:
parent
f7e0cd88e1
commit
34f97821a4
|
@ -5,13 +5,6 @@ volumes:
|
|||
postgres_backup: {}
|
||||
|
||||
services:
|
||||
postgres:
|
||||
build: ./compose/postgres
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- postgres_backup:/backups
|
||||
env_file: .env
|
||||
|
||||
django:
|
||||
build:
|
||||
context: .
|
||||
|
@ -22,6 +15,13 @@ services:
|
|||
command: /gunicorn.sh
|
||||
env_file: .env
|
||||
|
||||
postgres:
|
||||
build: ./compose/postgres
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- postgres_backup:/backups
|
||||
env_file: .env
|
||||
|
||||
nginx:
|
||||
build: ./compose/nginx
|
||||
depends_on:
|
||||
|
|
Loading…
Reference in New Issue
Block a user