-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal.yml
34 lines (31 loc) · 880 Bytes
/
local.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: '3'
services:
backend_party:
restart: unless-stopped
build:
context: .
dockerfile: ./docker/backend/development.Dockerfile
entrypoint: /app/docker/backend/wsgi-entrypoint.sh
image: django_backend_party
depends_on:
- postgres
volumes:
- .:/app
ports:
- "8000:8000"
env_file:
- ./.envs/.django
- ./.envs/.postgres
postgres:
build:
context: .
dockerfile: ./docker/postgres/Dockerfile
image: postgres_db_party_backend
volumes:
- postgres_party_volume:/var/lib/postgresql/data
- postgres_party_volume_backups:/backups
env_file:
- ./.envs/.postgres
volumes:
postgres_party_volume: {}
postgres_party_volume_backups: {}