49 lines
908 B
YAML
49 lines
908 B
YAML
version: '2.2'
|
|
|
|
networks:
|
|
metrics:
|
|
|
|
services:
|
|
gatus:
|
|
build: custom/gatus
|
|
environment:
|
|
VIRTUAL_HOST: s.ixvd.net
|
|
VIRTUAL_PORT: 8080
|
|
LETSENCRYPT_HOST: s.ixvd.net
|
|
volumes:
|
|
- /srv/gatus/data:/data
|
|
networks:
|
|
- proxy
|
|
- minecraft
|
|
- cloud
|
|
- metrics
|
|
- internal
|
|
|
|
prometheus:
|
|
build:
|
|
context: ./custom/prometheus
|
|
networks:
|
|
- metrics
|
|
extra_hosts:
|
|
- "docker.host:host-gateway"
|
|
|
|
prom-blackbox:
|
|
image: prom/blackbox-exporter:latest
|
|
networks:
|
|
- metrics
|
|
- internal
|
|
|
|
## THIS CONTANIER IS AVAILABLE ON THE HOST ##
|
|
node-exporter:
|
|
image: quay.io/prometheus/node-exporter:latest
|
|
container_name: node-exporter
|
|
command:
|
|
- '--path.rootfs=/host'
|
|
network_mode: host
|
|
pid: host
|
|
restart: unless-stopped
|
|
volumes:
|
|
- '/:/host:ro,rslave'
|
|
cap_add:
|
|
- SYS_TIME
|
|
|