-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocal.yml
More file actions
54 lines (50 loc) · 1.46 KB
/
local.yml
File metadata and controls
54 lines (50 loc) · 1.46 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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
working_dir: /app/backend
depends_on:
- postgres
volumes:
- .:/app
ports:
- "8000:8000"
env_file:
- ./.envs/.django
- ./.envs/.postgres
frontend:
restart: unless-stopped
build:
context: .
dockerfile: ./docker/frontend/development.Dockerfile
image: react_frontend_party
depends_on:
- backend_party
volumes:
- ./frontend/src:/app/frontend/src
- ./frontend/public:/app/frontend/public
ports:
- "3000:3000"
environment:
- WATCHPACK_POLLING=true
- WDS_SOCKET_PORT=3000
- REACT_APP_BACKEND_ADDRESS=http://localhost:8000
- PUBLIC_URL=/app
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: {}