# cnats configuration — read by cnats.service (EnvironmentFile). # See https://prosjekt.klingenbergbygg.no/bl/cnats for details. LEPTOS_SITE_ADDR=127.0.0.1:3000 NATS_URL=nats://127.0.0.1:4222 DATABASE_URL=postgres://cnats:cnats@127.0.0.1:5432/cnats KANIDM_URL=https://idm.example.com OAUTH2_CLIENT_ID=cnats OAUTH2_CLIENT_SECRET=change-me # Must match a redirect URL registered on the Kanidm oauth2 client: # ${PUBLIC_URL}/auth/callback PUBLIC_URL=http://localhost:3000 # Set true when served over HTTPS (production). COOKIE_SECURE=false RUST_LOG=info