-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
74 lines (74 loc) · 1.63 KB
/
docker-compose.yaml
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
66
67
68
69
70
71
72
73
74
version: "2.1"
networks:
playground-net:
driver: bridge
volumes:
back-notused:
services:
router:
environment:
- INFURA_API_KEY=${INFURA_API_KEY}
build:
context: router
command: npm run develop socketServer
container_name: router
volumes:
- ./router/src:/code/src:ro
- ./router/package.json:/code/package.json
- ./router/package-lock.json:/code/package-lock.json
- back-notused:/opt/app/node_modules
restart: unless-stopped
expose:
- 3031
networks:
- playground-net
labels:
org.label-schema.group: "playground"
tracker:
build:
context: tracker
command: npm run develop
container_name: tracker
volumes:
- ./tracker/src:/code/src:ro
- ./tracker/package.json:/code/package.json
- ./tracker/package-lock.json:/code/package-lock.json
- back-notused:/opt/app/node_modules
restart: unless-stopped
expose:
- 3032
networks:
- playground-net
labels:
org.label-schema.group: "playground"
ux:
build:
context: ux
container_name: ux
volumes:
- ./ux/src:/code/src
- /code/node_modules
depends_on:
- router
- tracker
restart: unless-stopped
expose:
- 3000
networks:
- playground-net
labels:
org.label-schema.group: "playground"
caddy:
image: caddy:2.3.0
container_name: caddy
ports:
- "3000:3000"
- "3031:3031"
- "3032:3032"
volumes:
- ./caddy:/etc/caddy
restart: unless-stopped
networks:
- playground-net
labels:
org.label-schema.group: "playground"