+1
.env.example
+1
.env.example
+1
conf/Caddyfile
+1
conf/Caddyfile
+4
conf/grafana.ini
+4
conf/grafana.ini
+26
docker-compose.yml
+26
docker-compose.yml
···
27
27
volumes:
28
28
- $PWD/conf:/etc/caddy
29
29
- caddy_data:/data
30
+
# Uncomment grafana and prometheus before building container if you want to use these
31
+
# grafana:
32
+
# env_file: .env
33
+
# image: grafana/grafana-oss
34
+
# container_name: grafana
35
+
# restart: unless-stopped
36
+
# depends_on:
37
+
# - prometheus
38
+
# ports:
39
+
# - "3000:3000"
40
+
# networks:
41
+
# - backend
42
+
# volumes:
43
+
# - ./conf/grafana.ini:/etc/grafana/grafana.ini
44
+
# - ${HOME}/grafana-storage:/var/lib/grafana
45
+
# prometheus:
46
+
# image: prom/prometheus:latest
47
+
# networks:
48
+
# - backend
49
+
# ports:
50
+
# - "9090:9090"
51
+
# volumes:
52
+
# - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
53
+
# depends_on:
54
+
# - relay
30
55
db:
31
56
env_file: .env
32
57
image: postgres:16-alpine
···
46
71
volumes:
47
72
caddy_data:
48
73
caddy_config:
74
+
grafana-storage: {}
49
75
50
76
networks:
51
77
backend: