-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
61 lines (59 loc) · 1.13 KB
/
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
59
60
61
version: '3'
services:
backend:
build: ./backend
restart: always
env_file:
- backend/.envbackend
working_dir: /usr/src/app
volumes:
- ./backend/src:/usr/src/app
- /usr/src/app/node_modules
command: npm run dev
networks:
- services_network
ports:
- 4000:4000
frontend:
build: ./frontend
restart: always
working_dir: /usr/src/app
volumes:
- ./frontend/src:/usr/src/app
- /usr/src/app/node_modules
command: npm run dev
networks:
- services_network
ports:
- 80:7777
- 49153:49153
depends_on:
- backend
postgres:
build: ./postgres
restart: always
env_file:
- postgres/.envdb
volumes:
- postgres:/var/lib/postgresql/data
networks:
- services_network
ports:
- 5432:5432
prisma:
build: ./prisma
restart: always
env_file:
- prisma/.envprisma
volumes:
- ./prisma/server_config:/usr/prisma_config
depends_on:
- postgres
networks:
- services_network
ports:
- 4466:4466
volumes:
postgres:
networks:
services_network: