forked from DamianoNaraku/jodel-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
58 lines (51 loc) · 992 Bytes
/
docker-compose.dev.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: "3.8"
services:
frontend:
build: ./
container_name: jjodel
volumes:
- ./src:/app/src
networks:
network:
ports:
- '3000:3000'
environment:
- CHOKIDAR_USEPOLLING=true
backend:
image: giordanotin/jjodel-backend:1.1
container_name: backend
environment:
- DJANGO_DATABASE_URL=postgres://postgres:postgres@db:5432/jjodel
networks:
network:
ports:
- '8000:8000'
depends_on:
- db
db:
image: postgres:14.2
container_name: db
volumes:
- db_data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=jjodel
networks:
network:
ports:
- '5432:5432' # 55434
memorec:
image: giordanotin/memorec:1.4
container_name: memorec
networks:
network:
ports:
- '8080:8080'
volumes:
db_data:
networks:
network:
driver: bridge
ipam:
config:
- subnet: 172.21.0.0/16