- Flutter app (Android/iOS): home, explore, albums, search, player with equalizer, mini player, sign up/sign in with email codes, profile, encrypted offline downloads, About page - server/: one-command deploy of self-hosted Supabase behind HestiaCP/nginx (or Caddy), migrations, backups, email templates - supabase/migrations: schema, row-level security, profiles - tools/: song scanner and importer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
550 B
Caddyfile
20 lines
550 B
Caddyfile
{$PROXY_DOMAIN} {
|
|
@supabase_api path /auth/v1/* /rest/v1/* /graphql/v1 /realtime/v1/* /storage/v1/* /functions/v1/* /mcp /sso/* /.well-known/oauth-authorization-server/auth/v1
|
|
|
|
handle @supabase_api {
|
|
reverse_proxy api-gw:8000
|
|
}
|
|
|
|
# Supabase Studio (admin dashboard), behind basic auth.
|
|
handle {
|
|
basic_auth {
|
|
# PROXY_AUTH_PASSWORD is overwritten with the bcrypt on startup
|
|
{$PROXY_AUTH_USERNAME} {$PROXY_AUTH_PASSWORD}
|
|
}
|
|
|
|
reverse_proxy studio:3000
|
|
}
|
|
|
|
header -server
|
|
}
|