-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
65 lines (61 loc) · 1.18 KB
/
docker-compose.yml
File metadata and controls
65 lines (61 loc) · 1.18 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
55
56
57
58
59
60
61
62
63
64
65
version: "3.1"
services:
app:
container_name: pmi-app
command: yarn app:dev
restart: unless-stopped
build:
context: .
dockerfile: dev.dockerfile
volumes:
- ./packages/app:/base/packages/app
- ./node_modules:/base/node_modules
networks:
- pmi
ports:
- 5173:5173
api:
container_name: pmi-api
command: yarn api:dev
restart: unless-stopped
build:
context: .
dockerfile: dev.dockerfile
volumes:
- ./packages/api:/base/packages/api
- ./node_modules:/base/node_modules
networks:
- pmi
ports:
- 3001:3001
auth:
container_name: pmi-auth
command: yarn auth:dev
restart: unless-stopped
build:
context: .
dockerfile: dev.dockerfile
volumes:
- ./packages/auth:/base/packages/auth
- ./node_modules:/base/node_modules
networks:
- pmi
ports:
- 3000:3000
proxy:
container_name: pmi-proxy
restart: unless-stopped
build:
context: ./nginx
dockerfile: Dockerfile
depends_on:
- auth
- api
- app
networks:
- pmi
ports:
- 8080:8080
- 443:443
networks:
pmi: