36 lines
786 B
YAML
36 lines
786 B
YAML
services:
|
|
# r-proxy
|
|
caddy:
|
|
image: caddy:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
- '443:443/udp'
|
|
- 3000:3000
|
|
volumes:
|
|
- ./Caddyfile:/etc/caddy/Caddyfile
|
|
|
|
# metrics collector
|
|
prometheus:
|
|
image: prom/prometheus:latest
|
|
expose:
|
|
- 9090
|
|
volumes:
|
|
- ./prometheus.yaml:/etc/prometheus/prometheus.yml
|
|
depends_on:
|
|
- caddy
|
|
|
|
# log viewer
|
|
grafana:
|
|
image: grafana/grafana:latest
|
|
volumes:
|
|
- ./grafana.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
|
|
environment:
|
|
- GF_AUTH_ANONYMOUS_ENABLED=true
|
|
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
|
|
- GF_AUTH_DISABLE_LOGIN_FORM=true
|
|
- GF_FEATURE_TOGGLES_ENABLE=traceqlEditor
|
|
depends_on:
|
|
- prometheus
|