services: grafana: image: grafana/grafana container_name: grafana restart: unless-stopped # if you are running as root then set it to 0 # else find the right id with the id -u command user: '0' ports: - '3000:3000' volumes: - /home/christof/grafana/storage/:/var/lib/grafana' networks: default: name: mqtt5-network external: true