-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy path.env.example
More file actions
38 lines (34 loc) · 1.47 KB
/
Copy path.env.example
File metadata and controls
38 lines (34 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
POSTGRES_USER=scrob
POSTGRES_PASSWORD=changeme
POSTGRES_DB=scrob
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
# Generate with: openssl rand -hex 32
SECRET_KEY=changethisinproduction
ENABLE_REGISTRATIONS=false
REGISTRATION_MAX_ALLOWED_USERS=5
# Require email validation for new users — if true, users will receive an email with a validation link before they can log in
# Uncomment to enable, and fill in the SMTP settings below to send emails
# If SMTP settings are provided, it will also enable the reset password link on the login page
#REQUIRE_EMAIL_VALIDATION=true
#SERVER_URL=https://scrob.example.com
#SMTP_ADDRESS=smtp.gmail.com
#SMTP_PORT=587
#SMTP_ENCRYPTION=tls
#SMTP_USERNAME=myemail@gmail.com
#SMTP_PASSWORD=<app password>
#FROM_EMAIL=myemail@gmail.com
# OIDC / SSO — uncomment and fill in to enable
#OIDC_ENABLED=true
#OIDC_PROVIDER_NAME=Keycloak
#OIDC_CLIENT_ID=your-client-id
#OIDC_CLIENT_SECRET=your-client-secret
#OIDC_AUTH_URL=https://auth.example.com/realms/master/protocol/openid-connect/auth
#OIDC_TOKEN_URL=https://auth.example.com/realms/master/protocol/openid-connect/token
#OIDC_USERINFO_URL=https://auth.example.com/realms/master/protocol/openid-connect/userinfo
#OIDC_REDIRECT_URL=http://localhost:8000/auth/oidc/callback
#OIDC_LOGOUT_URL=https://auth.example.com/realms/master/protocol/openid-connect/logout
#OIDC_IDENTIFIER_FIELD=email
#OIDC_SCOPES=openid email profile
#OIDC_AUTO_CREATE_USERS=true
#OIDC_DISABLE_PASSWORD_LOGIN=false