-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
67 lines (61 loc) · 1.17 KB
/
docker-compose.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
62
63
64
65
66
67
version: '3.3'
networks:
lan:
volumes:
data:
services:
# Prometheus
prometheus:
image: prom/prometheus:latest
volumes:
- ./.docker/prometheus/:/etc/prometheus/
command:
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/prometheus"
ports:
- "9090:9090"
expose:
- 9090
networks:
- lan
# Grafana
grafana:
image: grafana/grafana:latest
volumes:
- ./.docker/grafana/:/etc/grafana/
command:
- "--config=/etc/grafana/grafana.ini"
ports:
- "3000:3000"
expose:
- 3000
networks:
- lan
depends_on:
- prometheus
# Go WebSockify
go-websockify:
build: .
command: "--bind-addr 0.0.0.0:8080 --path /websockify --remote-addr 127.0.0.1:1984 --echo"
ports:
- "8080:8080"
expose:
- 8080
networks:
- lan
frontend:
build: ./client
command: yarn run dev
volumes:
- ./client:/opt/frontend/
- /opt/frontend/node_modules
ports:
- "1234:1234" # Parcel
- "4321:4321" # HMR
expose:
- 1234
- 4321
networks:
- lan
depends_on:
- go-websockify