Commit Graph

56 Commits

Author SHA1 Message Date
Georges-Antoine Assi
07dc02aa6a typo 2024-04-28 13:27:00 +00:00
Georges-Antoine Assi
2baa5f2fec Merge branch 'gunicorn-socket-handling' of github.com:zurdi15/romm into gunicorn-socket-handling 2024-04-28 13:10:56 +00:00
Georges-Antoine Assi
f2f2b3b0cd clear leftover pid files 2024-04-28 09:10:10 -04:00
Georges-Antoine Assi
2407e83e1a only wait when creating nginx 2024-04-26 13:09:23 +00:00
Georges-Antoine Assi
f98bbf183e dont create the file manually 2024-04-26 13:05:51 +00:00
Georges-Antoine Assi
138b75c698 handle gunicorn socket creation manually 2024-04-26 08:53:31 -04:00
Georges-Antoine Assi
4863b80eb3 tweak startup text 2024-03-25 22:08:32 +00:00
Psych0D0g
072acb9fec only print patience log one 2024-03-25 23:03:23 +01:00
Psych0D0g
680f2b239d add a log line to ask for patience 2024-03-25 23:02:36 +01:00
Psych0D0g
a06ccb5324 move sleep to the beginning of our while true loop to save innocent CPUs from overheating in case of errornous behaviour 2024-03-25 22:52:10 +01:00
Psych0D0g
de6838df85 make gunicorn log access and error logs to stdout 2024-03-25 22:20:25 +01:00
Psych0D0g
22f8b6115e remove uvicorn function from init 2024-03-25 22:00:49 +01:00
Psych0D0g
dd428e0af9 switch to gunicorn for handling backend app 2024-03-25 21:56:31 +01:00
Psych0D0g
8f5536c69b switch to gunicorn for handling backend app 2024-03-25 21:56:19 +01:00
zurdi
208239b51b fixed REDIS_HOST check 2024-03-25 10:46:28 +01:00
Georges-Antoine Assi
c8dc872a0d remove from init script and use user docker attr 2024-03-24 23:23:10 -04:00
Georges-Antoine Assi
1c7621c4b2 Hotifx PUID/GUID changes in init script 2024-03-24 22:53:54 -04:00
Georges-Antoine Assi
f259e1b1d0 fix scanning after socketio upgrade 2024-03-18 09:47:15 -04:00
Georges-Antoine Assi
be553d5524 add shadow to set ownership 2024-03-18 02:53:27 +00:00
Georges-Antoine Assi
d073657365 Allow setting dynamic PUID/PGID 2024-03-17 19:56:25 -04:00
Georges-Antoine Assi
02f27ace40 disable built in redis if env set 2024-03-17 17:05:26 -04:00
Georges-Antoine Assi
e024fc987f bind redis data volume 2024-03-12 02:07:31 +00:00
Georges-Antoine Assi
a36d49979e [WIP] build redis into container
expose port right
2024-03-01 10:36:02 -05:00
Georges-Antoine Assi
6bcadec702 everything we need for 3.0 2024-02-01 18:13:16 -05:00
Lukas Wingerberg
d4dfda20a3 fix comment 2023-11-02 10:58:05 +01:00
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