Files
docker-container/plantit/server.env
2025-05-07 15:24:18 -05: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
#
# 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
FLORACODEX_URL=https://api.floracodex.com
FLORACODEX_KEY=CzugP80KW7ujgxexVwD9ejA7RIrZT6AoORctImt0XgUS-5MdC1lmY02vbg7c5DJ4
ALLOWED_ORIGINS=* # CORS allowed origins (comma separated list)
LOG_LEVEL=DEBUG # could be: DEBUG, INFO, WARN, ERROR
REMINDER_NOTIFY_CHECK=0 30 7 * * * # 6-values crontab expression to set the check time for reminders
MAX_REQUESTS_PER_MINUTE=100 # rate limiting of the upcoming requests
#
# Notification
#
NTFY_ENABLED=true # if "false" ntfy service won't be available as notification dispatcher
GOTIFY_ENABLED=true # if "false" ntfy service won't be available as notification dispatcher
#
# Cache
#
CACHE_TYPE=none # Cache type. By default, it's "redis" but can also be "none"
#CACHE_TTL=86400
#CACHE_HOST=cache
#CACHE_PORT=6379
#CACHE_PASSWORD=
#CACHE_USERNAME=
#
# JWT
#
JWT_SECRET=6a837ed16d20acb8b0af7c7d5c16725d58da86e89649eb857293e2995f0ae09a8c85694476fe32e46d25c612af9ade6e2374a4b93ff0348d1529a8ce583b3520fb380ab69e12f80097332835cd30c605612b475c6d675d47c1616289790cb2a8b268dd8a08150b8a7681a72689e650877c010ff700906df1b539ca4f651a1276a62e2d2c199819a8f7ded0291b58b6668fd280d1ab5258329362f64a37786cd1801e0286cd812234c48d85beb84ce51f70d0f4c23ebd49646377c1cc9b29b050080209699fc517f7deaa960279d86b8c2ca28cfe2d5a31a24713145ca5434c940e75455bc1b99d4fbe9569b3d80887b45d4ebb4107879567fce3f2c5ca959189
JWT_EXP=1
#
# Cache
#
ALLOWED_ORIGINS=*
SSL_ENABLED=false