make the config consistant

This commit is contained in:
Oliver 2024-06-04 14:48:29 -06:00
parent 7c859bbcf5
commit d3571e2bc7

View File

@ -4,9 +4,9 @@ services:
image: caddy:latest image: caddy:latest
restart: unless-stopped restart: unless-stopped
ports: ports:
- "80:80" - '80:80'
- "443:443" - '443:443'
- "443:443/udp" - '443:443/udp'
volumes: volumes:
- './Caddyfile:/etc/caddy/Caddyfile' - './Caddyfile:/etc/caddy/Caddyfile'
@ -22,15 +22,13 @@ services:
grafana: grafana:
image: grafana/grafana:latest image: grafana/grafana:latest
volumes: volumes:
# needs another volume for persistant storage
- './grafana.yaml:/etc/grafana/provisioning/datasources/datasources.yaml' - './grafana.yaml:/etc/grafana/provisioning/datasources/datasources.yaml'
- './grafana-storage/:/var/lib/grafana'
environment: environment:
- GF_AUTH_ANONYMOUS_ENABLED=true - GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin - GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true - GF_AUTH_DISABLE_LOGIN_FORM=true
- GF_FEATURE_TOGGLES_ENABLE=traceqlEditor - GF_FEATURE_TOGGLES_ENABLE=traceqlEditor
volumes:
- grafana-storage:/var/lib/grafana
depends_on: depends_on:
- prometheus - prometheus