Commit Graph

31 Commits

Author SHA1 Message Date
Lukas Wingerberg
51c67a4e5d dont start the watcher.py when we disable rescan on change 2023-11-02 10:53:52 +01:00
Lukas Wingerberg
97f633f608 fix rare case where a socket file could be lingering leading to stsartup errors on uvicorn 2023-11-02 10:18:27 +01:00
Lukas Wingerberg
9204cf3381 Update docker/init_scripts/init
Co-authored-by: Georges-Antoine Assi <GAntoine@users.noreply.github.com>
2023-11-01 09:47:47 +01:00
Lukas Wingerberg
b1ca77e327 Update docker/init_scripts/init
Co-authored-by: Georges-Antoine Assi <GAntoine@users.noreply.github.com>
2023-11-01 09:47:34 +01:00
Lukas Wingerberg
b2ebe36c28 add error_log function that exit 1's implicitely 2023-10-31 23:05:34 +01:00
Lukas Wingerberg
e27a41e9dd simplify the init script a bit to lessen code duplication 2023-10-31 23:02:12 +01:00
Lukas Wingerberg
adf8127295 refactor init script and add error handling via watchdog loop 2023-10-31 22:39:08 +01:00
zurdi
e9204945fe scheduler and watchdog init_script fixed 2023-10-31 13:10:43 +01:00
zurdi
de836543a0 execution permissions given to scheduler and watchdog init scripts 2023-10-31 10:33:31 +01:00
Georges-Antoine Assi
89a87249cb Merge branch 'master' into scheduled-tasks 2023-10-27 15:27:22 -04:00
Zurdi
7e4625612d init script typo fixed 2023-10-25 00:23:48 +02:00
Lukas Wingerberg
10f34a6495 add venv to docker and refactor to get rid of python build dependencies that are not needed at runtime 2023-10-22 15:56:05 +02:00
Lukas Wingerberg
db282479b0 switch uvicorn and nginx to communicate via unix socket instead of tcp 2023-10-22 13:05:03 +02:00
Lukas Wingerberg
8015558398 refactor to alpine base and fix some more paths to work on readonly rootfs 2023-10-22 12:45:34 +02:00
Georges-Antoine Assi
0a756f8fd8 Add watchdog and watch roms 2023-08-26 19:28:36 -04:00
Georges-Antoine Assi
88c747f169 Add script to init scheduler 2023-08-26 13:26:52 -04:00
Georges-Antoine Assi
df4d297308 Sleep the worker if redis is disabled 2023-08-24 17:10:17 -04:00
zurdi
e3b2e1d2ec fixed worker init_script 2023-08-24 17:40:32 +02:00
zurdi
14d60018bf enabled redis init script 2023-08-24 17:25:07 +02:00
zurdi
a39897b4f7 redis enabled as experimental 2023-08-24 17:21:33 +02:00
zurdi
360d5a3e11 init_worker disabled 2023-08-09 15:19:56 +02:00
Georges-Antoine Assi
ceb3f46f28 Hotfix running worker when redis disabled 2023-08-09 08:45:12 -04:00
Georges-Antoine Assi
28c81293e1 Support worker in dokcer build 2023-08-04 23:03:19 -04:00
zurdi zurdo
d934651b87 scan migrated to websocket 2023-05-11 02:27:45 +02:00
zurdi zurdo
c6cb21b793 removed workers 2023-04-11 16:33:12 +02:00
zurdi zurdo
7c87c85d18 added alembic upgrade head to backend init script 2023-04-10 20:32:15 +02:00
zurdi zurdo
2bcf4d5679 uvicorn workers lowered to 3 2023-04-04 10:56:19 +02:00
zurdi zurdo
d1d3eba22e added 2 more workers to uvicorn 2023-04-04 10:53:27 +02:00
zurdi zurdo
97f271171a changed uvicorn workers to 2 2023-03-29 18:11:15 +02:00
zurdi zurdo
476faf42ac uvicorn init script fixed 2023-03-17 13:52:21 +01:00
zurdi zurdo
8954554d8e workflow build task moved to external script 2023-03-17 12:25:06 +01:00