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
|
|
|
|
|
|
|
# Database
|
|
|
|
RESET_DB=true
|
|
|
|
DB_URI=sqlite:///db.sqlite
|
|
|
|
|
|
|
|
# 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
|
|
|
|
WORDS_FILE_PATH=local_data/words.txt
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
PGP_SENDER_PRIVATE_KEY_PATH=local_data/private-pgp.asc
|