{"id":13942758,"url":"https://github.com/fly-apps/grafana","last_synced_at":"2025-07-20T06:31:54.618Z","repository":{"id":46282786,"uuid":"310137037","full_name":"fly-apps/grafana","owner":"fly-apps","description":"Run Grafana on Fly","archived":true,"fork":false,"pushed_at":"2021-11-02T11:57:56.000Z","size":3,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-27T12:36:56.270Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fly-apps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-04T23:00:07.000Z","updated_at":"2024-09-02T11:05:06.000Z","dependencies_parsed_at":"2022-09-13T03:11:35.101Z","dependency_job_id":null,"html_url":"https://github.com/fly-apps/grafana","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fly-apps/grafana","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fgrafana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fgrafana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fgrafana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fgrafana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fly-apps","download_url":"https://codeload.github.com/fly-apps/grafana/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fgrafana/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266076350,"owners_count":23872741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-08T02:02:01.302Z","updated_at":"2025-07-20T06:31:52.832Z","avatar_url":"https://github.com/fly-apps.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"```\n➜ flyctl apps create grafana-example\n\nSelected App Name: grafana-example\n\n? Select organization: Demo Sandbox (demo-sandbox)\n\n? Select builder: Image\n    (Use a public Docker image)\n? Select Image: grafana/grafana\n\n? Select Internal Port: 3000\n\nNew app created\n  Name         = grafana-example\n  Organization = demo-sandbox\n  Version      = 0\n  Status       =\n  Hostname     = \u003cempty\u003e\n\nWrote config file fly.toml\n```\n\n```\n➜ flyctl volumes create grafana_storage --region ord\n      Name: grafana_storage\n    Region: ord\n   Size GB: 10\nCreated at: 02 Nov 20 19:55 UTC\n```\n\nEdit `fly.toml` to add mount information. Grafana defaults to `/var/lib/grafana` for persistence, so we can just mount it directly.\n```toml\n[mount]\nsource = \"grafana_storage\"\ndestination = \"/var/lib/grafana\"\n```\n\n#### Deploy\n\nThis is all you need, just run `flyctl deploy` and watch what happens.\n\nOnce that's done, run `flyctl open` to launch the Grafana UI in your browser. Grafana defaults to `admin` for both username and password, enter those, change the password, and you're set.\n\n#### Plugins\n\nGrafana has a number of interesting plugins, like the [Worldmap Panel](https://grafana.com/grafana/plugins/grafana-worldmap-panel). The Grafana Docker image will install plugins from an environment variable. You can configure environment variables in `fly.toml` like so:\n\n```toml\n[env]\nGF_INSTALL_PLUGINS = \"grafana-worldmap-panel,grafana-clock-panel\"\n```\n\nRun a quick `flyctl deploy`, check the logs, and you'll see messages like this:\n\n```\n2020-11-04T22:41:08.458Z ecb06e0a ord [info] installing grafana-worldmap-panel @ 0.3.2\n2020-11-04T22:41:08.460Z ecb06e0a ord [info] from: https://grafana.com/api/plugins/grafana-worldmap-panel/versions/0.3.2/download\n2020-11-04T22:41:08.461Z ecb06e0a ord [info] into: /var/lib/grafana/plugins\n2020-11-04T22:41:08.928Z ecb06e0a ord [info] ✔ Installed grafana-worldmap-panel successfully\n2020-11-04T22:41:08.930Z ecb06e0a ord [info] Restart grafana after installing plugins . \u003cservice grafana-server restart\u003e\n2020-11-04T22:41:09.011Z ecb06e0a ord [info] installing grafana-clock-panel @ 1.1.1\n2020-11-04T22:41:09.012Z ecb06e0a ord [info] from: https://grafana.com/api/plugins/grafana-clock-panel/versions/1.1.1/download\n2020-11-04T22:41:09.013Z ecb06e0a ord [info] into: /var/lib/grafana/plugins\n2020-11-04T22:41:09.302Z ecb06e0a ord [info] ✔ Installed grafana-clock-panel successfully\n2020-11-04T22:41:09.303Z ecb06e0a ord [info] Restart grafana after installing plugins . \u003cservice grafana-server restart\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-apps%2Fgrafana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffly-apps%2Fgrafana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-apps%2Fgrafana/lists"}