[application] env = "development" port = 1304 [nats] hosts = ["nats://localhost:4222"] [misc] profile-endpoint = "http://localhost:1610" [misc.oauth] session-lifespan = 3600 # seconds jwt-encoding-key = "secret" [misc.oauth.discord] # query param for provider redirect-url = "http://127.0.0.1:1304/auth/authorised?provider=discord" #client-id = "" #client-secret = "" #auth-url = "" [monitoring] log-level = "auth_service=trace,info" [database] pool_size = 100 port = 5432 name = "auth" host = "localhost" password = "password" user = "postgres" [cache] dsn = "redis://localhost:6379" pooled = true type = "non-clustered" # clustered, non-clustered or sentinel max-connections = 100 # vim:ft=toml