mirror of
https://github.com/aykhans/my-self-host-services.git
synced 2025-11-29 16:09:49 +00:00
add watchtower
This commit is contained in:
@@ -1,26 +1,28 @@
|
||||
networks:
|
||||
grafana:
|
||||
name: grafana
|
||||
driver: bridge
|
||||
external: true
|
||||
caddy:
|
||||
name: caddy
|
||||
driver: bridge
|
||||
external: true
|
||||
grafana:
|
||||
name: grafana
|
||||
driver: bridge
|
||||
external: true
|
||||
caddy:
|
||||
name: caddy
|
||||
driver: bridge
|
||||
external: true
|
||||
|
||||
services:
|
||||
grafana:
|
||||
image: grafana/grafana-enterprise:12.2.0
|
||||
container_name: grafana
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- grafana
|
||||
- caddy
|
||||
volumes:
|
||||
- grafana-data:/var/lib/grafana
|
||||
- ./data/grafana/dashboards:/var/lib/grafana/dashboards
|
||||
- ./data/provisioning/dashboard.yaml:/etc/grafana/provisioning/dashboards/dashboard.yaml
|
||||
- ./data/provisioning/datasource.yaml:/etc/grafana/provisioning/datasources/datasource.yaml
|
||||
grafana:
|
||||
image: grafana/grafana-enterprise:12.2
|
||||
container_name: grafana
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
networks:
|
||||
- grafana
|
||||
- caddy
|
||||
volumes:
|
||||
- grafana-data:/var/lib/grafana
|
||||
- ./data/grafana/dashboards:/var/lib/grafana/dashboards
|
||||
- ./data/provisioning/dashboard.yaml:/etc/grafana/provisioning/dashboards/dashboard.yaml
|
||||
- ./data/provisioning/datasource.yaml:/etc/grafana/provisioning/datasources/datasource.yaml
|
||||
|
||||
volumes:
|
||||
grafana-data:
|
||||
grafana-data:
|
||||
|
||||
Reference in New Issue
Block a user