forked from Doctor-Derp/Isolation-Station-13
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
51 lines (51 loc) · 1.16 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
version: "3"
services:
db:
build: ../sql
image: bs12-db:latest
networks:
- internal
volumes:
- "../sql/test_db:/var/lib/mysql"
game:
build:
context: ..
image: bs12:latest
environment:
- RUNAS=1000
networks:
- internal
volumes:
- "../config:/bs12/config:ro"
ports:
- "127.0.0.1:8000:8000"
exporter:
image: bs12/byond-exporter:latest
networks:
- internal
ports:
- "127.0.0.1:9070:9070"
volumes:
- "../config/config.txt:/exporter/config.txt:ro"
command: ["-bind", ":9070", "-host", "game:8000", "-config_file", "/exporter/config.txt"]
prometheus:
image: prom/prometheus:latest
networks:
- internal
ports:
- "127.0.0.1:9090:9090"
volumes:
- "./conf/prometheus:/etc/prometheus:ro"
grafana:
image: grafana/grafana:latest
networks:
- internal
environment:
- GF_SECURITY_ADMIN_PASSWORD=development
ports:
- "127.0.0.1:3000:3000"
volumes:
- "./conf/grafana/provisioning:/etc/grafana/provisioning:ro"
- "./conf/grafana/dashboards:/var/lib/grafana/dashboards:ro"
networks:
internal: