79 lines
1.6 KiB
YAML
79 lines
1.6 KiB
YAML
|
|
services:
|
|
image-web:
|
|
container_name: image-web
|
|
image: caddy:2
|
|
volumes:
|
|
- ./docker-data/pictures:/usr/share/caddy:ro
|
|
- caddy-data:/data
|
|
ports:
|
|
- "3001:80"
|
|
networks:
|
|
- internal-bridge
|
|
|
|
web:
|
|
image: gitpot.org/logolicusz/explorecraft_logolcicusz_knockoff:latest
|
|
container_name: website
|
|
ports:
|
|
- "3000:80"
|
|
networks:
|
|
- internal-bridge
|
|
|
|
|
|
grafana:
|
|
image: docker.io/grafana/grafana-oss:10.4.2
|
|
container_name: grafana
|
|
ports:
|
|
- "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
|
|
command: "--config.file=/etc/prometheus/prometheus.yaml"
|
|
volumes:
|
|
- ./prometheus:/etc/prometheus
|
|
- prometheus-data:/prometheus
|
|
restart: unless-stopped
|
|
|
|
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
|
|
|
|
volumes:
|
|
caddy-data:
|
|
grafana-data:
|
|
driver: local
|
|
prometheus-data:
|
|
driver: local
|
|
|
|
networks:
|
|
internal-bridge:
|
|
driver: bridge
|
|
|
|
|