app/.env.example

80 lines
1.7 KiB
Text
Raw Normal View History

# Server url
2019-08-17 18:26:37 +08:00
URL=http://localhost:7777
2019-12-17 01:30:17 +08:00
# If you want to enable sentry for error tracking, put your sentry dsn here.
# SENTRY_DSN=your_sentry_dsn
2019-07-22 18:14:02 +08:00
2019-12-17 01:36:59 +08:00
# apply colored log to facilitate local development
# COLOR_LOG=true
# <<< Email related settings >>>
2019-12-17 01:36:59 +08:00
# Only print email content, not sending it, for local development
# NOT_SEND_EMAIL=true
# domain used to create alias
EMAIL_DOMAIN=sl.local
2019-12-17 01:36:59 +08:00
# transactional email is sent from this email address
SUPPORT_EMAIL=support@sl.local
2019-12-17 01:36:59 +08:00
# to receive general stats.
# ADMIN_EMAIL=admin@sl.local
2019-07-22 18:14:02 +08:00
# Max number emails user can generate for free plan
MAX_NB_EMAIL_FREE_PLAN=3
2019-12-17 01:40:23 +08:00
# custom domain needs to point to these MX servers
EMAIL_SERVERS_WITH_PRIORITY=[(10, "email.hostname.")]
2019-12-17 01:40:23 +08:00
# these emails are ignored when computing stats
2019-12-17 01:40:23 +08:00
# IGNORED_EMAILS = ["my_email@domain.com"]
# <<< END Email related settings >>>
2019-07-22 18:14:02 +08:00
# <<< Database >>>
2019-12-17 01:40:23 +08:00
# delete and recreate sqlite database, for local development
2019-07-22 18:14:02 +08:00
RESET_DB=true
2019-12-17 01:40:23 +08:00
# DB Connection
DB_URI=sqlite:///db.sqlite
2019-12-17 01:40:23 +08:00
# <<< END Database >>>
2019-07-22 18:14:02 +08:00
# Flask
FLASK_SECRET=secret
2019-12-17 01:40:23 +08:00
# <<< AWS >>>
BUCKET=to_fill
2019-07-06 22:39:45 +08:00
AWS_ACCESS_KEY_ID=to_fill
AWS_SECRET_ACCESS_KEY=to_fill
# Cloudwatch
# ENABLE_CLOUDWATCH=true
CLOUDWATCH_LOG_GROUP=local
CLOUDWATCH_LOG_STREAM=local
2019-12-17 01:40:23 +08:00
# <<< END AWS >>>
# Paddle
PADDLE_VENDOR_ID = 123
PADDLE_MONTHLY_PRODUCT_ID = 123
PADDLE_YEARLY_PRODUCT_ID = 123
2019-12-15 02:54:33 +08:00
PADDLE_PUBLIC_KEY_PATH=local_data/paddle.key.pub
2019-07-22 18:14:02 +08:00
# OpenId key
OPENID_PRIVATE_KEY_PATH=local_data/jwtRS256.key
OPENID_PUBLIC_KEY_PATH=local_data/jwtRS256.key.pub
2019-07-06 22:39:45 +08:00
2019-07-22 18:14:02 +08:00
# Words to generate random email alias
WORDS_FILE_PATH=local_data/words.txt
2019-07-22 18:14:02 +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