# Grafana auto-update setup Grafana runs in Docker on a Synology NAS (192.168.1.30) via Container Manager. ## Prerequisites The auto-update script SSHes into the Synology and runs `docker compose pull && up -d`. For this to work without sudo, the SSH user needs to be in the `docker` group. ### One-time Synology setup ```bash ssh jeena@192.168.1.30 sudo synogroup --add docker sudo synogroup --memberadd docker jeena sudo chown root:docker /var/run/docker.sock exit ``` Log out and back in (new SSH session) for the group to take effect. This persists through DSM updates and reboots. ### Verify ```bash ssh jeena@192.168.1.30 '/usr/local/bin/docker ps' ``` Should list containers without permission errors. ## Notes - Docker is at `/usr/local/bin/docker` on Synology (not in PATH for non-interactive SSH) - The compose project is at `/volume1/docker/monitoring/` - `context.txt` tells the AI classifier this is a simple Prometheus + Node Exporter setup with no plugins, so plugin-only breaking changes are classified as auto