- Docker-Compose
- Node (any version)
- Clone this repository
- Run
npm install
to install dependencies
Update all .example files and/or folders to match your needs. This step is not required if you are using the default setup.
--force
: force the non .example config files to be overwritten.--debug
: listen to setup Docker logs--traefik
: Add traefik labels to the docker-compose.yml file, reverse proxy for docker containers.--username
: overwrite the username for the Grafana admin user--password
: overwrite the password for the Grafana admin user--defaultRetention
: overwrite the default retention for the default retention polic of all not regex'd retention paths.--enableAnonymousAccess
: enable anonymous access to Grafana--traefikHost
: use only traefik forwarding
--grafanaDomain
: Overwrite grafana.ini domain--grafanaPort
: port for Grafana to run on--relayPort
: port for relay-ng to run on (default: 2003)
--deleteLogs
: deletes the logs folder--removeWhisper
: Deletes the carbon whisper folder--removeVolumes
: Remove all volumes, including the grafana database.
npm run setup
: to execute setup onlynpm run start:standalone
: to configure and start itnpm run start:standalone-traefik
to confgiure with traefik and start it- For other run commands like eslint, check out package.json scripts object.
Go to localhost:3000 (if you used port 3000) and login with admin
and password
(or your custom set login info).
Its possible to use https for your grafana instance, check out this tutorial for example on how to do this, enough info online about it. I dont support this (yet)