mirror of
https://github.com/dustinbrun/docker-compose-homeserver.git
synced 2025-11-05 07:17:32 +01:00
Add Grafana, Influxdb
This commit is contained in:
22
grafana/docker-compose.yml
Normal file
22
grafana/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
# If after the Start of the Container the logs say: "You may have issues with file permissions"
|
||||
# Change the wirte permissions for the ./grafana and ./grafana_ext folder using: "chown 472 ./grafana"
|
||||
# or see https://community.grafana.com/t/new-docker-install-with-persistent-storage-permission-problem/10896
|
||||
|
||||
version: '2'
|
||||
services:
|
||||
grafana:
|
||||
image: grafana/grafana
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- '96:3000'
|
||||
volumes:
|
||||
- ./grafana:/var/lib/grafana
|
||||
#- ./grafana_etc:/etc/grafana
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_USER=admin
|
||||
- GF_SECURITY_ADMIN_PASSWORD=changeme
|
||||
user: "root"
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user