mirror of
https://github.com/ClaperCo/Claper.git
synced 2025-12-16 03:47:56 +01:00
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
BASE_URL=http://localhost:4000
|
|
# SAME_SITE_COOKIE=Lax
|
|
# SECURE_COOKIE=false
|
|
|
|
DATABASE_URL=postgres://claper:claper@db:5432/claper
|
|
SECRET_KEY_BASE=0LZiQBLw4WvqPlz4cz8RsHJlxNiSqM9B48y4ChyJ5v1oA0L/TPIqRjQNdPZN3iEG # Generate with `mix phx.gen.secret`
|
|
# ⚠️ Don't use this exact value for SECRET_KEY_BASE or someone would be able to sign a cookie with user_id=1 and log in as the admin!
|
|
|
|
# Storage configuration
|
|
|
|
PRESENTATION_STORAGE=local
|
|
PRESENTATION_STORAGE_DIR=/app/uploads
|
|
#MAX_FILE_SIZE_MB=15
|
|
|
|
#AWS_ACCESS_KEY_ID=xxx
|
|
#AWS_SECRET_ACCESS_KEY=xxx
|
|
#AWS_REGION=eu-west-3
|
|
#AWS_PRES_BUCKET=xxx
|
|
|
|
# Mail configuration
|
|
|
|
MAIL_TRANSPORT=local
|
|
MAIL_FROM=noreply@claper.co
|
|
MAIL_FROM_NAME=Claper
|
|
|
|
#SMTP_RELAY=xx.example.com
|
|
#SMTP_USERNAME=johndoe@example.com
|
|
#SMTP_PASSWORD=xxx
|
|
#SMTP_PORT=465
|
|
|
|
#ENABLE_MAILBOX_ROUTE=false
|
|
#MAILBOX_USER=admin
|
|
#MAILBOX_PASSWORD=admin
|
|
|
|
# Claper configuration
|
|
|
|
#ENABLE_ACCOUNT_CREATION=true
|
|
#EMAIL_CONFIRMATION=true
|
|
#ALLOW_UNLINK_EXTERNAL_PROVIDER=false
|
|
#LOGOUT_REDIRECT_URL=https://google.com
|
|
#GS_JPG_RESOLUTION=300x300
|
|
|
|
# OIDC configuration
|
|
|
|
# OIDC_PROVIDER_NAME="OpenID"
|
|
# OIDC_ISSUER=https://my-idp.example/application/o/claper/
|
|
# OIDC_CLIENT_ID=XXX
|
|
# OIDC_CLIENT_SECRET=XXX
|
|
# OIDC_SCOPES="openid email profile"
|
|
# OIDC_LOGO_URL=""
|
|
# OIDC_PROPERTY_MAPPINGS="roles:custom_attributes.roles,organization:custom_attributes.organization"
|
|
# OIDC_AUTO_REDIRECT_LOGIN=true |