refactor: Switching to a cron system for tasks, restructuring service and status models

Added response time field for Status model, set log level from ENV
This commit is contained in:
2025-10-28 00:51:29 +03:00
parent 1958d9b3d9
commit b33df27b31
11 changed files with 254 additions and 63 deletions

10
.env
View File

@@ -1,11 +1,19 @@
APP_HOST=http://localhost:8080
APP_TZ=Europe/Moscow
# panic
# fatal
# error
# warn
# info
# debug
LOG_LEVEL=debug
DATABASE_HOST=localhost
DATABASE_PORT=5444
DATABASE_USER=status
DATABASE_PASS=status
DATABASE_DB=status
DATABASE_TZ=Europe/Moscow
RABBIT_USER=user
RABBIT_PASSWORD=user