2024-05-07 08:08:43 +00:00
|
|
|
|
2024-04-05 09:39:54 +00:00
|
|
|
services:
|
2024-05-06 18:44:49 +00:00
|
|
|
image-web:
|
2024-04-12 08:46:48 +00:00
|
|
|
container_name: image-web
|
|
|
|
image: caddy:2
|
2024-04-05 09:39:54 +00:00
|
|
|
volumes:
|
2024-04-12 08:46:48 +00:00
|
|
|
- ./docker-data/pictures:/usr/share/caddy:ro
|
|
|
|
- caddy-data:/data
|
|
|
|
ports:
|
|
|
|
- "3001:80"
|
2024-04-05 09:39:54 +00:00
|
|
|
networks:
|
|
|
|
- internal-bridge
|
|
|
|
|
|
|
|
web:
|
2024-04-12 08:46:48 +00:00
|
|
|
image: gitpot.org/logolicusz/explorecraft_logolcicusz_knockoff:latest
|
|
|
|
container_name: website
|
2024-04-05 09:39:54 +00:00
|
|
|
ports:
|
|
|
|
- "3000:80"
|
|
|
|
networks:
|
|
|
|
- internal-bridge
|
|
|
|
|
2024-05-07 08:08:43 +00:00
|
|
|
|
|
|
|
grafana:
|
|
|
|
image: docker.io/grafana/grafana-oss:10.4.2
|
|
|
|
container_name: grafana
|
2024-05-05 13:55:07 +00:00
|
|
|
ports:
|
2024-05-07 08:08:43 +00:00
|
|
|
- "3010:3000"
|
|
|
|
volumes:
|
|
|
|
- grafana-data:/var/lib/grafana
|
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
prometheus:
|
|
|
|
image: docker.io/prom/prometheus:v2.51.2
|
|
|
|
container_name: prometheus
|
|
|
|
ports:
|
|
|
|
- 9090:9090
|
2024-05-07 12:06:50 +00:00
|
|
|
command: "--config.file=/etc/prometheus/prometheus.yaml"
|
2024-05-07 08:08:43 +00:00
|
|
|
volumes:
|
2024-05-07 12:06:50 +00:00
|
|
|
- ./prometheus:/etc/prometheus
|
2024-05-07 08:08:43 +00:00
|
|
|
- prometheus-data:/prometheus
|
|
|
|
restart: unless-stopped
|
2024-05-05 13:55:07 +00:00
|
|
|
|
2024-05-07 12:06:50 +00:00
|
|
|
node_exporter:
|
|
|
|
image: quay.io/prometheus/node-exporter:v1.8.0
|
|
|
|
container_name: node_exporter
|
|
|
|
command: "--path.rootfs=/host"
|
|
|
|
pid: host
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- /:/host:ro,rslave
|
|
|
|
|
|
|
|
cadvisor:
|
|
|
|
image: gcr.io/cadvisor/cadvisor:v0.49.1
|
|
|
|
container_name: cadvisor
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|
|
|
|
volumes:
|
|
|
|
- /:/rootfs:ro
|
|
|
|
- /var/run:/var/run:ro
|
|
|
|
- /sys:/sys:ro
|
|
|
|
- /var/lib/docker/:/var/lib/docker:ro
|
|
|
|
- /dev/disk/:/dev/disk:ro
|
|
|
|
devices:
|
|
|
|
- /dev/kmsg
|
|
|
|
privileged: true
|
|
|
|
restart: unless-stopped
|
|
|
|
|
2024-04-05 09:39:54 +00:00
|
|
|
volumes:
|
2024-04-12 08:46:48 +00:00
|
|
|
caddy-data:
|
2024-05-07 08:08:43 +00:00
|
|
|
grafana-data:
|
|
|
|
driver: local
|
|
|
|
prometheus-data:
|
|
|
|
driver: local
|
2024-04-05 09:39:54 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
internal-bridge:
|
|
|
|
driver: bridge
|
2024-05-05 13:55:07 +00:00
|
|
|
|
|
|
|
|