2019-08-10 23:04:04 +08:00
|
|
|
# Server url
|
|
|
|
URL=http://localhost
|
2020-10-29 00:12:21 +08:00
|
|
|
LOCAL_FILE_UPLOAD=1
|
2019-08-10 23:04:04 +08:00
|
|
|
|
|
|
|
# Email related settings
|
|
|
|
# Only print email content, not sending it
|
|
|
|
NOT_SEND_EMAIL=true
|
|
|
|
EMAIL_DOMAIN=sl.local
|
2020-03-06 03:32:08 +08:00
|
|
|
OTHER_ALIAS_DOMAINS=["d1.test", "d2.test", "sl.local"]
|
2019-08-10 23:04:04 +08:00
|
|
|
SUPPORT_EMAIL=support@sl.local
|
2019-11-21 23:22:27 +08:00
|
|
|
ADMIN_EMAIL=to_fill
|
2019-08-10 23:04:04 +08:00
|
|
|
# Max number emails user can generate for free plan
|
|
|
|
MAX_NB_EMAIL_FREE_PLAN=3
|
2019-12-02 08:11:19 +08:00
|
|
|
EMAIL_SERVERS_WITH_PRIORITY=[(10, "email.hostname.")]
|
2019-12-18 00:48:06 +08:00
|
|
|
DKIM_PRIVATE_KEY_PATH=local_data/dkim.key
|
2019-08-10 23:04:04 +08:00
|
|
|
|
2021-08-15 23:41:16 +08:00
|
|
|
DB_URI=postgresql://test:test@localhost:15432/test
|
2019-08-10 23:04:04 +08:00
|
|
|
|
|
|
|
# Flask
|
|
|
|
FLASK_SECRET=secret
|
|
|
|
|
|
|
|
# AWS
|
|
|
|
BUCKET=to_fill
|
|
|
|
AWS_ACCESS_KEY_ID=to_fill
|
|
|
|
AWS_SECRET_ACCESS_KEY=to_fill
|
|
|
|
|
2019-11-14 22:10:55 +08:00
|
|
|
# Paddle
|
2022-04-14 23:28:40 +08:00
|
|
|
PADDLE_VENDOR_ID=1
|
|
|
|
PADDLE_MONTHLY_PRODUCT_ID=2
|
|
|
|
PADDLE_YEARLY_PRODUCT_ID=3
|
2019-12-15 02:54:33 +08:00
|
|
|
PADDLE_PUBLIC_KEY_PATH=local_data/paddle.key.pub
|
2019-08-10 23:04:04 +08:00
|
|
|
|
|
|
|
# OpenId key
|
|
|
|
OPENID_PRIVATE_KEY_PATH=local_data/jwtRS256.key
|
|
|
|
OPENID_PUBLIC_KEY_PATH=local_data/jwtRS256.key.pub
|
|
|
|
|
|
|
|
# Words to generate random email alias
|
2021-10-23 23:29:37 +08:00
|
|
|
WORDS_FILE_PATH=local_data/test_words.txt
|
2019-08-10 23:04:04 +08:00
|
|
|
|
|
|
|
# Github
|
|
|
|
GITHUB_CLIENT_ID=to_fill
|
|
|
|
GITHUB_CLIENT_SECRET=to_fill
|
|
|
|
|
|
|
|
# Google
|
|
|
|
GOOGLE_CLIENT_ID=to_fill
|
|
|
|
GOOGLE_CLIENT_SECRET=to_fill
|
|
|
|
|
|
|
|
# Facebook
|
|
|
|
FACEBOOK_CLIENT_ID=to_fill
|
|
|
|
FACEBOOK_CLIENT_SECRET=to_fill
|
2020-11-03 20:30:13 +08:00
|
|
|
|
2024-03-13 21:30:00 +08:00
|
|
|
# Login with OIDC
|
|
|
|
CONNECT_WITH_OIDC_ICON=fa-github
|
2024-05-02 22:17:10 +08:00
|
|
|
OIDC_WELL_KNOWN_URL=to_fill
|
2024-03-13 21:30:00 +08:00
|
|
|
OIDC_SCOPES=openid email profile
|
|
|
|
OIDC_NAME_FIELD=name
|
|
|
|
OIDC_CLIENT_ID=to_fill
|
|
|
|
OIDC_CLIENT_SECRET=to_fill
|
|
|
|
|
2021-09-18 00:05:35 +08:00
|
|
|
PGP_SENDER_PRIVATE_KEY_PATH=local_data/private-pgp.asc
|
|
|
|
|
2022-02-16 16:38:55 +08:00
|
|
|
ALIAS_AUTOMATIC_DISABLE=true
|
2022-03-21 19:03:11 +08:00
|
|
|
ALLOWED_REDIRECT_DOMAINS=["test.simplelogin.local"]
|
|
|
|
|
2022-03-14 16:33:31 +08:00
|
|
|
|
|
|
|
DMARC_CHECK_ENABLED=true
|
|
|
|
|
|
|
|
PROTON_CLIENT_ID=to_fill
|
|
|
|
PROTON_CLIENT_SECRET=to_fill
|
|
|
|
PROTON_BASE_URL=https://localhost/api
|
2022-05-10 23:54:51 +08:00
|
|
|
|
2022-10-03 18:32:45 +08:00
|
|
|
POSTMASTER=postmaster@test.domain
|
|
|
|
|
2022-10-10 16:00:19 +08:00
|
|
|
RECOVERY_CODE_HMAC_SECRET=1234567890123456789
|
|
|
|
ENABLE_ALL_REVERSE_ALIAS_REPLACEMENT=true
|
2022-10-27 16:07:02 +08:00
|
|
|
MAX_NB_REVERSE_ALIAS_REPLACEMENT=200
|
|
|
|
|
2022-12-14 18:50:36 +08:00
|
|
|
MEM_STORE_URI=redis://localhost
|
|
|
|
|