This commit is contained in:
Sönke Domröse
2025-05-02 16:07:53 +02:00
parent 7fafb3779f
commit 3c5f4f8d2b
3 changed files with 30 additions and 14 deletions

2
.idea/.gitignore generated vendored
View File

@@ -11,3 +11,5 @@
# Datasource local storage ignored files # Datasource local storage ignored files
/dataSources/ /dataSources/
/dataSources.local.xml /dataSources.local.xml
/AndroidProjectSystem.xml
/sonarlint.xml

View File

@@ -19,8 +19,8 @@ services:
restart: always restart: always
env_file: server.env env_file: server.env
volumes: volumes:
- "/home/soenke/docker-data/plantit/db:/var/lib/mysql" - "./db:/var/lib/mysql"
cache: cache:
image: redis:7.2.1 image: redis:7.2.1
restart: always restart: always

View File

@@ -3,26 +3,36 @@
# #
MYSQL_HOST=db MYSQL_HOST=db
MYSQL_PORT=3306 MYSQL_PORT=3306
MYSQL_USERNAME=plantit MYSQL_USERNAME=root
MYSQL_PSW=plantit123 MYSQL_PSW=root
MYSQL_DATABASE=bootdb MYSQL_DATABASE=bootdb
MYSQL_ROOT_PASSWORD=plantit123 MYSQL_ROOT_PASSWORD=root
# #
# JWT # JWT
# #
JWT_SECRET=putTheSecretHere JWT_SECRET=8ec571c0625722935e3940c35e56af08209eb6591b26e4cd73bd4d0dbb261904457941ba52c857edca7374b86749b389b9d37a081345b6dae13dd10d0f0b151b4919c076051845206b57b23ec62769951a0a5286d630fa0b6234cd6799dff44b70b961308796aefbe701de026fee1a718a4604e4722c6d27725c9b9466e428ac19a8ba052781589cf7142a045900839e12d1de5a0308c22188810a5ea97c2bbb3ff87f1178dc377fb997cefb4aaf68689d4c6bec2f5f67c881f66dfb16540ff5a8259d90cba9d2a53df46c4a9ad57c1cc7cc9cc13f357f679b7b8263dc3282eca13fba70e014a0677abf1eaf972886f87f97ee7e31ef8b002971a38c6e4ce7d1
JWT_EXP=1 JWT_EXP=1
# #
# Server config # Server config
# #
USERS_LIMIT=-1 USERS_LIMIT=-1 # less then 0 means no limit
UPLOAD_DIR=/upload-dir 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=8632 API_PORT=8080
TREFLE_KEY= TREFLE_KEY=
LOG_LEVEL=DEBUG ALLOWED_ORIGINS=* # CORS allowed origins (comma separated list)
ALLOWED_ORIGINS=* 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
@@ -32,7 +42,11 @@ CACHE_HOST=cache
CACHE_PORT=6379 CACHE_PORT=6379
# #
# SSL # SMTP
# #
SSL_ENABLED=false SMTP_HOST=
CERTIFICATE_PATH=/certificates/ SMTP_PORT=
SMTP_EMAIL=
SMTP_PASSWORD=
SMTP_AUTH=
SMTP_START_TTL=