# Autumn configuration for {{project_name}} — a multi-tenant SaaS starter.
[]
= "127.0.0.1"
= 3000
[]
= "info"
[]
= "/health"
[]
# Matches docker-compose.yml. Point this at your own Postgres in production.
= "postgres://autumn:autumn@localhost:5432/{{crate_name}}"
= 10
# Tenancy is middleware-driven: every request resolves a tenant from the session
# (seeded at signup/login), and the tenant_scoped repositories filter each query
# by it automatically — handlers never touch `with_tenant`. The public_paths
# below stay reachable without a tenant so unauthenticated visitors can reach the
# login/signup screens and static assets; a missing tenant on any other route
# redirects to login instead of returning a raw 401.
[]
= true
= "session"
= "tenant_id"
= ["/", "/login", "/signup", "/logout", "/static", "/favicon.ico"]
= "/login"