mirror of
https://github.com/elAgala/server-initializer.git
synced 2026-02-14 05:06:18 +00:00
fix: fix loki setup && weird error
This commit is contained in:
@@ -10,6 +10,7 @@ services:
|
||||
volumes:
|
||||
- grafana_data:/var/lib/grafana
|
||||
- ./grafana/provisioning:/etc/grafana/provisioning
|
||||
- ./grafana/dashboards:/etc/grafana/provisioning/dashboards
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD}
|
||||
- GF_INSTALL_PLUGINS=grafana-clock-panel,grafana-simple-json-datasource
|
||||
@@ -19,3 +20,7 @@ services:
|
||||
|
||||
volumes:
|
||||
grafana_data:
|
||||
|
||||
networks:
|
||||
caddy_net:
|
||||
external: true
|
||||
|
||||
@@ -64,6 +64,7 @@ services:
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- monitoring_net
|
||||
- caddy_net
|
||||
command: -config.file=/etc/loki/local-config.yaml
|
||||
|
||||
# PORT 9080
|
||||
|
||||
@@ -42,3 +42,4 @@ compactor:
|
||||
working_directory: /loki/boltdb-shipper-compactor
|
||||
retention_enabled: true
|
||||
retention_delete_delay: 2h
|
||||
delete_request_store: filesystem
|
||||
Reference in New Issue
Block a user