supabase / supabase-grafana

Observability for your Supabase project, using Prometheus/Grafana
https://supabase.com
MIT License
189 stars 37 forks source link

fix: add a base fly app configuration #23

Closed darora closed 5 months ago

darora commented 5 months ago

fly launch defaults to apps stopping after a period of inactivity. Since a persistent volume is also not configured, this would result in historical data being lost on every pause.

This change adds a fly.toml that disables auto-stop for the app that will be launched.

Additionally, a persistent volume is also defined, and the readme is updated to indicate that it needs to be explicitly created.

In theory the fly launch command should pick up the config from the fly.toml file. In practice this doesn't seem to happen.

The bug removing the Fly app config was introduced in an earlier change 35503f5aaa916ab31f82cb37e1133df2cb82b101