Files
docker-container/plantit/server.env
Sönke Domröse 3c5f4f8d2b plantit
2025-05-02 16:07:53 +02:00

52 lines
1.7 KiB
Bash

#
# DB
#
MYSQL_HOST=db
MYSQL_PORT=3306
MYSQL_USERNAME=root
MYSQL_PSW=root
MYSQL_DATABASE=bootdb
MYSQL_ROOT_PASSWORD=root
#
# JWT
#
JWT_SECRET=8ec571c0625722935e3940c35e56af08209eb6591b26e4cd73bd4d0dbb261904457941ba52c857edca7374b86749b389b9d37a081345b6dae13dd10d0f0b151b4919c076051845206b57b23ec62769951a0a5286d630fa0b6234cd6799dff44b70b961308796aefbe701de026fee1a718a4604e4722c6d27725c9b9466e428ac19a8ba052781589cf7142a045900839e12d1de5a0308c22188810a5ea97c2bbb3ff87f1178dc377fb997cefb4aaf68689d4c6bec2f5f67c881f66dfb16540ff5a8259d90cba9d2a53df46c4a9ad57c1cc7cc9cc13f357f679b7b8263dc3282eca13fba70e014a0677abf1eaf972886f87f97ee7e31ef8b002971a38c6e4ce7d1
JWT_EXP=1
#
# Server config
#
USERS_LIMIT=-1 # less then 0 means no limit
UPLOAD_DIR=/upload-dir # path to the directory used to store uploaded images, if on docker deployment leave as it is and change the volume binding in the docker-compose file if needed
API_PORT=8080
TREFLE_KEY=
ALLOWED_ORIGINS=* # CORS allowed origins (comma separated list)
LOG_LEVEL=DEBUG # could be: DEBUG, INFO, WARN, ERROR
UPDATE_EXISTING=false # update missing fields using Trefle service, useful on system version update if new fields are introduced
CONTACT_MAIL=soenke@domroese.eu # address used as "contact" for template email
REMINDER_NOTIFY_CHECK=0 30 7 * * * # 6-values crontab expression to set the check time for reminders
#
# SSL
#
SSL_ENABLED=false
CERTIFICATE_PATH=/certificates/ # path to files to use for ssl. If on docker deployment leave as it is and change the volume binding in the docker-compose file if needed
#
# Cache
#
CACHE_TTL=86400
CACHE_HOST=cache
CACHE_PORT=6379
#
# SMTP
#
SMTP_HOST=
SMTP_PORT=
SMTP_EMAIL=
SMTP_PASSWORD=
SMTP_AUTH=
SMTP_START_TTL=