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
|
|
|
|
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
|
|
|
|
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-22 00:43:26 +08:00
|
|
|
DMARC_CHECK_ENABLED=true
|