forked from screepers/ScreepsGrafanaV2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.example.yml
54 lines (50 loc) · 1.08 KB
/
docker-compose.example.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
version: "3.5"
volumes:
grafana_data:
graphite_data:
networks:
stats:
driver: bridge
x-logging: &default-logging
driver: "local"
options:
max-size: "20m"
max-file: "5"
services:
graphite:
image: graphiteapp/graphite-statsd
volumes:
- ./logs/graphite:/var/log
- ./grafanaConfig/graphite:/opt/graphite/conf
- graphite_data:/opt/graphite/storage
networks:
- stats
grafana:
image: grafana/grafana-oss:9.3.6-ubuntu
volumes:
- grafana_data:/var/lib/grafana
- ./grafanaConfig/grafana:/etc/grafana
- ./logs/grafana:/var/log/grafana
ports:
- 3000:3000
healthcheck:
test: "curl -fsSL -o /dev/null http://localhost:3000/login"
interval: 10s
timeout: 5s
retries: 3
networks:
- stats
stats-getter:
build:
context: .
dockerfile: ./src/pushStats/Dockerfile
volumes:
- ./logs/statsGetter:/app/logs
depends_on:
- graphite
environment:
- PREFIX=
- SERVER_PORT=21025
- INCLUDE_PUSH_STATUS_API=false
networks:
- stats