Explorecraft_Logolcicusz_Kn.../docker-compose.yml

54 lines
1 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=/prometheus/prometheus.yaml"
volumes:
- ./config/prometheus.yaml:/prometheus/prometheus.yaml:ro
- prometheus-data:/prometheus
restart: unless-stopped
volumes:
caddy-data:
grafana-data:
driver: local
prometheus-data:
driver: local
networks:
internal-bridge:
driver: bridge