Deploy Grafana Community Edition on railway with one click.
- Grafana with automated setup
- Grafana UI
- Password Authentication (Set username & password in environment variables)
- Click Deploy on Railway and setup your credentials in the environment variables
GF_DEFAULT_INSTANCE_NAME=my-instance
GF_SECURITY_ADMIN_USER=yourusername
GF_SECURITY_ADMIN_PASSWORD=yourpassword
GF_INSTALL_PLUGINS=grafana-piechart-panel,grafana-worldmap-panel,grafana-clock-panel,grafana-simple-json-datasource
GF_LOG_MODE=console
GF_VERSION=latest
PORT=3000
- Wait for Build & Deployment to Finish
- Open the custom URL an enter your credentials
- When you configure your Grafana connection, use your custom URL as the host.
- Use the token in the environment variables to authenticate
- Setup bucket name and organization name in the environment variables
- Use grafana version 2.0 or above
If you find a bug in the template for railway, you can submit an issue to the GitHub Repository. Even better you can submit a Pull Request with a fix.
docker compose build
docker compose up -d
Connect to http://localhost:3000 use setup username & password from docker-compose file to login to grafana.