-
Notifications
You must be signed in to change notification settings - Fork 19
/
docker-compose.yml
74 lines (66 loc) · 1.48 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
68
69
70
71
72
73
74
version: '3'
services:
ggz-server:
image: goggz/ggz-server
restart: always
ports:
- 8080:8080
environment:
- GGZ_METRICS_TOKEN=test-prometheus-token
- GGZ_METRICS_ENABLED=true
ggz-redirect:
image: goggz/ggz-redirect
restart: always
ports:
- 8081:8081
environment:
- GGZ_PROMETHEUS_AUTH_TOKEN=test-prometheus-token
prometheus:
image: prom/prometheus
volumes:
- ./configs/prometheus.yml:/etc/prometheus/prometheus.yml
- prometheus-data:/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- '9090:9090'
node-exporter:
image: prom/node-exporter
ports:
- '9100:9100'
grafana:
image: grafana/grafana
volumes:
- grafana-data:/var/lib/grafana
environment:
- GF_SECURITY_ADMIN_PASSWORD=pass
depends_on:
- prometheus
ports:
- '3000:3000'
# db:
# image: mysql
# restart: always
# volumes:
# - mysql-data:/var/lib/mysql
# environment:
# MYSQL_USER: ggz
# MYSQL_PASSWORD: example
# MYSQL_DATABASE: ggz
# MYSQL_ROOT_PASSWORD: example
# minio:
# image: minio/minio
# restart: always
# ports:
# - "9000:9000"
# volumes:
# - minio-data:/data
# environment:
# MINIO_ACCESS_KEY: minio123456
# MINIO_SECRET_KEY: minio1234567890
# command: server /data
volumes:
prometheus-data: {}
grafana-data: {}
# minio-data:
# mysql-data: