-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
98 lines (94 loc) · 2.72 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
services:
fakeserver:
profiles:
- debug
image: nginx
restart: unless-stopped
volumes:
- ./fakeserver/metrics:/usr/share/nginx/html/metrics
- ./fakeserver/data:/usr/share/nginx/html/data
- ./fakeserver/default.conf:/etc/nginx/conf.d/default.conf
ports:
- "8082:8080"
frmcompanion:
build: ./frmcompanion
image: featheredtoast/ficsit-remote-monitoring-companion
restart: unless-stopped
environment:
- FRM_HOST=${FRM_HOST:-host.docker.internal}
- FRM_PORT=${FRM_PORT:-8080}
- FRM_HOSTS=${FRM_HOSTS:-}
#extra_hosts:
# - "my-server:192.168.1.100"
ports:
- "9000:9000"
prometheus:
image: prom/prometheus
restart: unless-stopped
volumes:
- ./prometheus:/etc/prometheus
- prometheus:/prometheus
ports:
- "9090:9090"
frmcache:
build: ./frmcache
image: featheredtoast/ficsit-remote-monitoring-cache
restart: unless-stopped
#extra_hosts:
# - "my-server:192.168.1.100"
environment:
- FRM_HOST=${FRM_HOST:-host.docker.internal}
- FRM_PORT=${FRM_PORT:-8080}
- FRM_HOSTS=${FRM_HOSTS:-}
- PG_HOST=${PG_HOST:-postgres}
- PG_PORT=${PG_PORT:-5432}
- PG_PASSWORD=${PG_PASSWORD:-secretpassword}
- PG_USER=${PG_USER:-postgres}
- PG_DB=${PG_DB:-postgres}
depends_on:
- postgres
postgres:
image: postgres
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=${PG_PASSWORD:-secretpassword}
volumes:
- postgresql:/var/lib/postgresql/data
alertmanager-config:
build: ./alertmanager-config
image: featheredtoast/ficsit-remote-monitoring-alertmanager-config
volumes:
- ./alertmanager:/etc/alertmanager
environment:
- FRM_HOST=${FRM_HOST:-host.docker.internal}
- FRM_PORT=${FRM_PORT:-8080}
- FRM_HOSTS=${FRM_HOSTS:-}
- DISCORD_WEBHOOK=${DISCORD_WEBHOOK:-}
- DISCORD_WEBHOOKS=${DISCORD_WEBHOOKS:-}
alertmanager:
image: prom/alertmanager
restart: unless-stopped
volumes:
- ./alertmanager:/etc/alertmanager
ports:
- "9093:9093"
depends_on:
alertmanager-config:
condition: service_completed_successfully
restart: true
grafana:
image: grafana/grafana-oss
restart: unless-stopped
volumes:
- ./grafana/datasources:/etc/grafana/provisioning/datasources
- ./grafana/dashboards.yml:/etc/grafana/provisioning/dashboards/dashboards.yml
- ./grafana/dashboards:/etc/grafana/dashboards
- ./grafana/grafana.ini:/etc/grafana/grafana.ini
- ./grafana/icons:/usr/share/grafana/public/img/icons/satisfactory
- grafana:/var/lib/grafana
ports:
- "3000:3000"
volumes:
grafana:
postgresql:
prometheus: