- add DKIM_PRIVATE_KEY_PATH param - create email_utils.add_dkim_signature - add DKIM signature for transactional emails - add DKIM signature for forward & reply emails. In reply phase, only non-custom-domain emails have DKIM added.
57 lines
1.1 KiB
Plaintext
57 lines
1.1 KiB
Plaintext
# Server url
|
|
URL=http://localhost
|
|
|
|
# Email related settings
|
|
# Only print email content, not sending it
|
|
NOT_SEND_EMAIL=true
|
|
EMAIL_DOMAIN=sl.local
|
|
SUPPORT_EMAIL=support@sl.local
|
|
ADMIN_EMAIL=to_fill
|
|
# Max number emails user can generate for free plan
|
|
MAX_NB_EMAIL_FREE_PLAN=3
|
|
EMAIL_SERVERS_WITH_PRIORITY=[(10, "email.hostname.")]
|
|
DKIM_PRIVATE_KEY_PATH=local_data/dkim.key
|
|
|
|
# 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
|
|
|
|
# Cloudwatch
|
|
# ENABLE_CLOUDWATCH=true
|
|
CLOUDWATCH_LOG_GROUP=local
|
|
CLOUDWATCH_LOG_STREAM=local
|
|
|
|
|
|
# Paddle
|
|
PADDLE_VENDOR_ID = 1
|
|
PADDLE_MONTHLY_PRODUCT_ID = 2
|
|
PADDLE_YEARLY_PRODUCT_ID = 3
|
|
PADDLE_PUBLIC_KEY_PATH=local_data/paddle.key.pub
|
|
|
|
# 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
|