Explorecraft_Logolcicusz_Kn.../docker-compose.yml

80 lines
1.6 KiB
YAML
Raw Permalink Normal View History

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
2024-05-05 13:55:07 +00:00
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
2024-05-07 12:06:50 +00:00
command: "--config.file=/etc/prometheus/prometheus.yaml"
volumes:
2024-05-07 12:06:50 +00:00
- ./prometheus:/etc/prometheus
- 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
volumes:
caddy-data:
grafana-data:
driver: local
prometheus-data:
driver: local
networks:
internal-bridge:
driver: bridge
2024-05-05 13:55:07 +00:00