Commit Graph

79 Commits

Author SHA1 Message Date
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
zurdi
174a43888b unlimited client_max_body_size in nginx 2023-10-31 10:01:43 +01:00
Georges-Antoine Assi
89a87249cb Merge branch 'master' into scheduled-tasks 2023-10-27 15:27:22 -04:00
zurdi
7001511e26 fix - romm user added to nginx config and dockerfile 2023-10-25 01:33:45 +02:00
Zurdi
7e4625612d init script typo fixed 2023-10-25 00:23:48 +02:00
Lukas Wingerberg
8b9d174ef7 add libffi to fix arm64 builds and reorder packages alphabetically 2023-10-24 23:11:10 +02:00
Lukas Wingerberg
6fe4562d3d Move docker labels into git workflow 2023-10-24 22:55:53 +02:00
Lukas Wingerberg
45f41e0069 remove duplicate package installs 2023-10-23 20:07:07 +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
584b8c5619 further reduce docker image size by cleaning up poetry cache 2023-10-22 14:06:10 +02:00
Lukas Wingerberg
87ae129cf3 further reduce docker image size by removing build deps and squashing layers down to 1 2023-10-22 14:02:34 +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
Lukas Wingerberg
71874810e1 make nginx run successfully on readonly rootfs 2023-10-22 10:55:31 +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
7d5e600c8a add default_user avatar to dockerfile 2023-08-24 17:56:03 +02: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
Georges-Antoine Assi
7b67495c23 Fix nginx config 2023-08-19 22:00:20 -04:00
Georges-Antoine Assi
c1d1291b48 Expose swaggerui and redoc endpoints 2023-08-18 23:40:18 -04:00
Georges-Antoine Assi
7f18755300 Merge branch 'simple-authentication-front' into simple-authentication 2023-08-17 13:13:14 -04:00
zurdi
282d147719 dockerfile fixed 2023-08-14 00:21:34 +02:00
Georges-Antoine Assi
cd1ad91ed7 Merge branch 'master' into simple-authentication 2023-08-12 23:47:09 -04:00
Georges-Antoine Assi
3b4c8c1a8b Merge branch 'master' into revert-sed 2023-08-11 23:42:01 -04:00
Georges-Antoine Assi
1726ab5b60 Merge branch 'master' into simple-authentication 2023-08-11 10:53:26 -04:00
zurdi
9afcc92692 branch name added to build local image script 2023-08-11 09:30:16 +02:00
Georges-Antoine Assi
a8a402d250 Add scopes and roles 2023-08-10 23:37:05 -04:00
Georges-Antoine Assi
22dec93071 Revert romm_version file 2023-08-10 21:21:06 -04:00
zurdi
6b0438f2c1 front version added to docker image build 2023-08-10 15:04:11 +02:00
zurdi
fd6b9a4766 docker image local build script added 2023-08-10 09:19:32 +02:00
zurdi
731120b07d added netcat to base image 2023-08-09 15:20:04 +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
302b8cf073 scan websocket migrated to socket.io 2023-05-11 14:17:30 +02:00
zurdi zurdo
d934651b87 scan migrated to websocket 2023-05-11 02:27:45 +02:00
Georges-Antoine Assi
83f3bf0fb4 Make the dockerfile work for real 2023-05-09 11:29:27 -04:00
Georges-Antoine Assi
c402f5f194 Updates for dockerfile 2023-05-09 10:58:51 -04:00
Georges-Antoine Assi
917dbc3295 Rewrite dev setup, switch to poetry and refactor folder strucutre 2023-05-08 19:01:21 -04:00
zurdi zurdo
65605fa4e8 alembic rev 1.7.2 added 2023-04-17 17:38:20 +02:00
zurdi zurdo
067014791c config.yml example added 2023-04-14 12:38:21 +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