mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-01-19 07:16:57 +01:00
29 lines
903 B
Plaintext
29 lines
903 B
Plaintext
SERVER_NAME=wygiwyh_server
|
|
DB_NAME=wygiwyh_pg
|
|
|
|
TZ=UTC # Change to your timezone. This only affects some async tasks.
|
|
|
|
DEBUG=false
|
|
URL = https://...
|
|
HTTPS_ENABLED=true
|
|
SECRET_KEY=<GENERATE A SAFE SECRET KEY AND PLACE IT HERE>
|
|
DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1]
|
|
OUTBOUND_PORT=9005
|
|
|
|
SQL_DATABASE=wygiwyh
|
|
SQL_USER=wygiwyh
|
|
SQL_PASSWORD=<INSERT A SAFE PASSWORD HERE>
|
|
SQL_HOST=${DB_NAME}
|
|
SQL_PORT=5432
|
|
|
|
# Gunicorn
|
|
WEB_CONCURRENCY=4
|
|
|
|
# App Configs
|
|
# Enable this if you want to keep deleted transactions in the database
|
|
ENABLE_SOFT_DELETE=false
|
|
# If ENABLE_SOFT_DELETE is true, transactions deleted for more than KEEP_DELETED_TRANSACTIONS_FOR days will be truly deleted. Set to 0 to keep all.
|
|
KEEP_DELETED_TRANSACTIONS_FOR=365
|
|
|
|
TASK_WORKERS=1 # This only work if you're using the single container option. Increase to have more open queues via procrastinate, you probably don't need to increase this.
|