2019-07-12 09:34:29 +00:00
|
|
|
# Server url
|
2019-08-17 10:26:37 +00:00
|
|
|
URL=http://localhost:7777
|
2019-07-12 09:34:29 +00:00
|
|
|
|
2019-07-22 10:14:02 +00:00
|
|
|
# Enable sentry
|
|
|
|
ENABLE_SENTRY=true
|
|
|
|
|
2019-12-15 08:01:07 +00:00
|
|
|
# apply colored log
|
2019-12-09 21:18:41 +00:00
|
|
|
COLOR_LOG=true
|
|
|
|
|
2019-12-15 08:01:07 +00:00
|
|
|
# <<< Email related settings >>>
|
2019-07-22 10:14:02 +00:00
|
|
|
# Only print email content, not sending it
|
|
|
|
NOT_SEND_EMAIL=true
|
2019-12-15 08:01:07 +00:00
|
|
|
# domain used to create alias
|
2019-07-12 09:34:29 +00:00
|
|
|
EMAIL_DOMAIN=sl.local
|
2019-12-15 08:01:07 +00:00
|
|
|
# transactional email is sent from this email address
|
2019-07-12 09:34:29 +00:00
|
|
|
SUPPORT_EMAIL=support@sl.local
|
2019-12-15 08:01:07 +00:00
|
|
|
# to send general stats
|
2019-12-09 21:18:41 +00:00
|
|
|
ADMIN_EMAIL=admin@sl.local
|
2019-07-22 10:14:02 +00:00
|
|
|
# Max number emails user can generate for free plan
|
|
|
|
MAX_NB_EMAIL_FREE_PLAN=3
|
2019-12-15 08:01:07 +00:00
|
|
|
# custom domain needs to point to these MX servers
|
2019-12-02 00:11:19 +00:00
|
|
|
EMAIL_SERVERS_WITH_PRIORITY=[(10, "email.hostname.")]
|
2019-12-15 08:09:37 +00:00
|
|
|
# these emails are ignored when computing stats
|
|
|
|
IGNORED_EMAILS = ["my_email@domain.com"]
|
2019-07-22 10:14:02 +00:00
|
|
|
|
2019-12-15 08:01:07 +00:00
|
|
|
# <<< Database >>>
|
|
|
|
# delete and recreate sqlite database
|
2019-07-22 10:14:02 +00:00
|
|
|
RESET_DB=true
|
2019-07-12 09:34:29 +00:00
|
|
|
DB_URI=sqlite:///db.sqlite
|
|
|
|
|
2019-07-22 10:14:02 +00:00
|
|
|
# Flask
|
2019-07-12 09:34:29 +00:00
|
|
|
FLASK_SECRET=secret
|
|
|
|
|
2019-07-22 10:14:02 +00:00
|
|
|
# AWS
|
2019-07-12 09:34:29 +00:00
|
|
|
BUCKET=to_fill
|
2019-07-06 14:39:45 +00:00
|
|
|
AWS_ACCESS_KEY_ID=to_fill
|
|
|
|
AWS_SECRET_ACCESS_KEY=to_fill
|
|
|
|
|
2019-07-12 09:34:29 +00:00
|
|
|
# Cloudwatch
|
2019-07-22 10:19:12 +00:00
|
|
|
# ENABLE_CLOUDWATCH=true
|
2019-07-12 09:34:29 +00:00
|
|
|
CLOUDWATCH_LOG_GROUP=local
|
|
|
|
CLOUDWATCH_LOG_STREAM=local
|
|
|
|
|
2019-12-09 21:18:41 +00:00
|
|
|
# Paddle
|
|
|
|
PADDLE_VENDOR_ID = 123
|
|
|
|
PADDLE_MONTHLY_PRODUCT_ID = 123
|
|
|
|
PADDLE_YEARLY_PRODUCT_ID = 123
|
2019-12-14 18:54:33 +00:00
|
|
|
PADDLE_PUBLIC_KEY_PATH=local_data/paddle.key.pub
|
2019-12-09 21:18:41 +00:00
|
|
|
|
2019-07-22 10:14:02 +00:00
|
|
|
# OpenId key
|
2019-07-12 08:34:33 +00:00
|
|
|
OPENID_PRIVATE_KEY_PATH=local_data/jwtRS256.key
|
|
|
|
OPENID_PUBLIC_KEY_PATH=local_data/jwtRS256.key.pub
|
2019-07-06 14:39:45 +00:00
|
|
|
|
2019-07-22 10:14:02 +00:00
|
|
|
# Words to generate random email alias
|
2019-07-12 08:34:33 +00:00
|
|
|
WORDS_FILE_PATH=local_data/words.txt
|
2019-07-07 20:44:58 +00:00
|
|
|
|
2019-07-22 10:14:02 +00:00
|
|
|
# Github
|
2019-07-07 20:44:58 +00:00
|
|
|
GITHUB_CLIENT_ID=to_fill
|
2019-07-08 12:11:34 +00:00
|
|
|
GITHUB_CLIENT_SECRET=to_fill
|
|
|
|
|
|
|
|
# Google
|
|
|
|
GOOGLE_CLIENT_ID=to_fill
|
|
|
|
GOOGLE_CLIENT_SECRET=to_fill
|
2019-07-12 09:34:29 +00:00
|
|
|
|
|
|
|
# Facebook
|
|
|
|
FACEBOOK_CLIENT_ID=to_fill
|
|
|
|
FACEBOOK_CLIENT_SECRET=to_fill
|