Cristian Oneț
d99d6e1a68
perf: optimize the api image health check ( #3038 )
...
### Description
Having curl installed in the API container improves operations and the
efficiency of the health check. Launching python to do a single http
call is an overkill.
Co-authored-by: Jonas L <jooola@users.noreply.github.com>
2024-06-22 13:18:50 +02:00
Jonas L
9c548b365e
feat: start celery worker programmatically ( #2988 )
...
### Description
Allow us to be more flexible with the option passed the celery worker,
for example, to change the logging level.
2024-04-13 21:03:57 +02:00
Jonas L
7040d0e4bd
fix: trigger legacy tasks manager every 5m ( #2987 )
...
### Description
This ensures that when the LibreTime interface is not used for a long
time, we still have the task manager run essential tasks for the
schedule.
Related to #2670
2024-04-13 19:12:45 +02:00
Jonas L
43221d9d7f
fix(api): move gunicorn worker config to python file ( #2854 )
...
### Description
Passing the --lifespan flag to gunicorn does not forward the option to
uvicorn.
2023-12-29 17:47:50 +01:00
Jonas L
8743c84d0f
feat: disable uvicorn worker lifespan ( #2845 )
...
### Description
Fix this Django exception: Django can only handle ASGI/HTTP connections,
not lifespan.
2023-12-28 14:00:58 +01:00
jo
a587f179f8
Revert "chore(api): install django-rest-framework from git ( #2518 )"
...
This reverts commit df7848c4bd
.
2023-05-26 11:07:13 +01:00
jo
3b4f9ef477
feat(api): install gunicorn/uvicorn from pip
2023-05-11 09:52:58 +01:00
Jonas L
df7848c4bd
chore(api): install django-rest-framework from git ( #2518 )
2023-04-24 14:58:07 +01:00
jo
00ceb9bd46
fix: move docker specific setup to dockerfile
2023-03-15 11:52:00 +00:00
jo
b7214b5d46
feat: add sentry sdk
2023-03-14 14:59:45 +00:00
Jonas L
f9fc920d1f
chore: improve dockerfile run calls ( #2273 )
2022-12-07 15:29:30 +02:00
Jonas L
8a516c14c5
chore(deps): revert update python docker tag to v3.11 ( #2245 ) ( #2269 )
...
This reverts commit d2d4ebdf82
.
2022-12-07 10:39:18 +01:00
renovate[bot]
d2d4ebdf82
chore(deps): update python docker tag to v3.11 ( #2245 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-06 09:58:52 +02:00
Jonas L
96cc2b59f5
chore: reorder Dockerfile sections ( #2189 )
2022-09-27 08:15:41 +02:00
jo
09a75570f3
fix: include version variable inside containers
2022-09-26 13:25:35 +02:00
renovate[bot]
2cd07e0151
chore(deps): update python docker tag to v3.10
2022-09-15 18:31:56 +02:00
jo
f34c9b3c5f
chore: mount pip cache for container build
2022-09-15 10:06:48 +02:00
jo
4b30e0a5d4
chore: use same python image for builder
2022-09-15 10:06:48 +02:00
Kyle Robbertze
1da42b2603
feat: add container setup
...
- build container with multi-stage Dockerfile
- change api listen port to 9001
2022-09-14 11:09:52 +02:00