2021-09-11 00:03:51 +00:00
|
|
|
version: "3.9"
|
2019-11-16 21:48:18 +00:00
|
|
|
services:
|
|
|
|
gatus:
|
|
|
|
container_name: gatus
|
2019-12-04 22:40:49 +00:00
|
|
|
image: twinproduction/gatus
|
2019-11-16 21:48:18 +00:00
|
|
|
restart: always
|
|
|
|
ports:
|
2021-09-11 00:03:51 +00:00
|
|
|
- "8080:8080"
|
2019-11-16 21:48:18 +00:00
|
|
|
volumes:
|
2022-03-20 04:04:13 +00:00
|
|
|
- ./config:/config
|
2019-11-16 21:48:18 +00:00
|
|
|
networks:
|
|
|
|
- metrics
|
|
|
|
|
|
|
|
prometheus:
|
|
|
|
container_name: prometheus
|
|
|
|
image: prom/prometheus:v2.14.0
|
|
|
|
restart: always
|
|
|
|
command: --config.file=/etc/prometheus/prometheus.yml
|
|
|
|
ports:
|
2021-09-11 00:03:51 +00:00
|
|
|
- "9090:9090"
|
2019-11-16 21:48:18 +00:00
|
|
|
volumes:
|
|
|
|
- ./prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
|
|
|
|
networks:
|
|
|
|
- metrics
|
|
|
|
|
|
|
|
grafana:
|
|
|
|
container_name: grafana
|
|
|
|
image: grafana/grafana:6.4.4
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
GF_SECURITY_ADMIN_PASSWORD: secret
|
|
|
|
ports:
|
2021-09-11 00:03:51 +00:00
|
|
|
- "3000:3000"
|
2019-11-16 21:48:18 +00:00
|
|
|
volumes:
|
|
|
|
- ./grafana/grafana.ini/:/etc/grafana/grafana.ini:ro
|
|
|
|
- ./grafana/provisioning/:/etc/grafana/provisioning/:ro
|
|
|
|
networks:
|
|
|
|
- metrics
|
|
|
|
|
|
|
|
networks:
|
|
|
|
metrics:
|
|
|
|
driver: bridge
|