* Feat: Added parallel limiter to prevent sqlalchemy transaction issues * Remove logs * Moved initialization to its own file * Throw exception * Added test * Add redis to gh actions * Added v6 to the name * Removed debug prints Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
70 lines
1.5 KiB
Bash
70 lines
1.5 KiB
Bash
# Server url
|
|
URL=http://localhost
|
|
LOCAL_FILE_UPLOAD=1
|
|
|
|
# Email related settings
|
|
# Only print email content, not sending it
|
|
NOT_SEND_EMAIL=true
|
|
EMAIL_DOMAIN=sl.local
|
|
OTHER_ALIAS_DOMAINS=["d1.test", "d2.test", "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
|
|
|
|
DB_URI=postgresql://test:test@localhost:15432/test
|
|
|
|
# Flask
|
|
FLASK_SECRET=secret
|
|
|
|
# AWS
|
|
BUCKET=to_fill
|
|
AWS_ACCESS_KEY_ID=to_fill
|
|
AWS_SECRET_ACCESS_KEY=to_fill
|
|
|
|
# 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/test_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
|
|
|
|
PGP_SENDER_PRIVATE_KEY_PATH=local_data/private-pgp.asc
|
|
|
|
ALIAS_AUTOMATIC_DISABLE=true
|
|
ALLOWED_REDIRECT_DOMAINS=["test.simplelogin.local"]
|
|
|
|
|
|
DMARC_CHECK_ENABLED=true
|
|
|
|
PROTON_CLIENT_ID=to_fill
|
|
PROTON_CLIENT_SECRET=to_fill
|
|
PROTON_BASE_URL=https://localhost/api
|
|
|
|
POSTMASTER=postmaster@test.domain
|
|
|
|
RECOVERY_CODE_HMAC_SECRET=1234567890123456789
|
|
ENABLE_ALL_REVERSE_ALIAS_REPLACEMENT=true
|
|
MAX_NB_REVERSE_ALIAS_REPLACEMENT=200
|
|
|
|
MEM_STORE_URI=redis://localhost |