Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vergissberlin/railwayapp-grafana
Template for Grafana on railway.app
https://github.com/vergissberlin/railwayapp-grafana
railway-app
Last synced: 6 days ago
JSON representation
Template for Grafana on railway.app
- Host: GitHub
- URL: https://github.com/vergissberlin/railwayapp-grafana
- Owner: vergissberlin
- License: mit
- Created: 2023-05-16T21:30:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-02T16:54:43.000Z (10 months ago)
- Last Synced: 2024-10-10T19:41:16.938Z (27 days ago)
- Topics: railway-app
- Language: Dockerfile
- Homepage: https://railway.app/template/anURAt?referralCode=2_sIT9
- Size: 74.2 KB
- Stars: 8
- Watchers: 2
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Grafana for railway.app
Deploy Grafana Community Edition on railway with one click.
Grafana is a multi-platform, feature rich metrics dashboard and graph editor for Graphite, InfluxDB & Prometheus. It is most commonly used for visualizing time series data.[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/anURAt?referralCode=2_sIT9)
## ✨ Features
* Grafana with automated setup
* Grafana UI
* Password Authentication (Set username & password in environment variables)## 🐍 How to Deploy
1. Click Deploy on Railway and setup your credentials in the environment variables
```bash
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
```2. Wait for Build & Deployment to Finish
3. Open the custom URL an enter your credentials## 👩💻 How to Use
1. When you configure your Grafana connection, use your custom URL as the host.
2. Use the token in the environment variables to authenticate
3. Setup bucket name and organization name in the environment variables
4. Use grafana version 2.0 or above## 🪲 Bug Reporting
If you find a bug in the template for railway, you can [submit an issue](https://github.com/vergissberlin/railwayapp-grafana/issues/new) to the GitHub Repository. Even better you can submit a Pull Request with a fix.
## 🐳 Local Development
```bash
docker compose build
docker compose up -d
```Connect to http://localhost:3000 use setup username & password from docker-compose file to login to grafana.