42 Commits

Author SHA1 Message Date
Christoph Reiter
e36d5effcf Update deps
remove standard deps from uvicorn, we don't really need all of
them, except maybe uvloop, but I don't see a difference.
2025-10-09 19:38:22 +02:00
Christoph Reiter
5bed553953 Port to PEP 735
both poetry and uv can now be used
2025-09-14 21:59:12 +02:00
Christoph Reiter
d4fd39ab1b Update deps 2025-08-29 13:56:38 +02:00
Christoph Reiter
0236e6e067 Update deps 2025-06-28 21:01:40 +02:00
Christoph Reiter
4b1ed99678 Update deps 2025-06-13 10:32:19 +02:00
Christoph Reiter
b29a9d37f4 Update deps 2025-02-16 19:17:48 +01:00
Christoph Reiter
1db24694a1 Update deps
one small typing fix uncovered by newer mypy
2024-12-06 18:00:01 +01:00
Christoph Reiter
1b3cc5d6a6 docker: install media-types to fix content-type for fonts
starlette guesses the mimetype, but without media-types it doesn't
know anything about fonts
2024-07-17 18:46:15 +02:00
Christoph Reiter
39e285c20d docker: update to bookworm 2024-07-17 18:46:03 +02:00
Christoph Reiter
2ec83d9239 Move to new uvicorn_worker package
The gunicorn worker included in uvicorn is deprecated
2024-07-17 09:20:37 +02:00
Christoph Reiter
5e9e171765 Update deps 2024-03-02 20:53:51 +01:00
Christoph Reiter
05ae48819c Update deps 2024-02-11 23:48:44 +01:00
Christoph Reiter
82b4e4e4ee Require Python 3.10
Ubuntu 22.04 should be enough
2023-10-15 12:06:56 +02:00
Christoph Reiter
b5ee0007ee Update Python dependencies 2023-06-20 17:58:12 +02:00
Christoph Reiter
aab5373c6e Update dependencies 2023-05-29 12:20:54 +02:00
Christoph Reiter
d8de6db6e6 Update Python dependencies 2023-04-09 17:23:44 +02:00
Christoph Reiter
5317a610e0 Update dependencies 2023-03-03 19:38:51 +01:00
Christoph Reiter
f861a05d85 docker: update poetry 2023-01-06 07:04:38 +01:00
Christoph Reiter
c7dc9f0990 docker: use a smaller image
good enough
2023-01-06 07:04:18 +01:00
Christoph Reiter
a9af827f71 Update Python dependencies 2022-12-10 22:21:34 +01:00
Christoph Reiter
a8f031e21b
docker: switch to 3.11 final 2022-10-26 10:56:51 +02:00
Christoph Reiter
988a28242c docker: move to python 3.11
non-slim since zstandard doesn't have wheels yet
2022-09-20 09:11:59 +02:00
Christoph Reiter
52458c932a Simplify the docker image build a bit
We use the official Python image now, so no need to install it extra.
Also just use one build step, we only have poetry left at the end which
ww would in theory not need, but that's not worth the hassle.
2022-03-11 10:43:31 +01:00
Christoph Reiter
cf34a09df4 docker: use Python 3.10, log access logs 2022-02-22 19:58:47 +01:00
Christoph Reiter
2fe2c99b7a Update python deps 2022-01-06 10:45:50 +01:00
Christoph Reiter
79d4e9d202 Update python deps
httpx now disables redirects by default
2021-10-18 08:23:55 +02:00
Christoph Reiter
ad18c1896f Update to Python 3.9 2021-08-15 17:50:22 +02:00
Christoph Reiter
55c6bcc9d2 Increase the gunicorn worker timeout 2021-07-12 06:53:47 +02:00
Christoph Reiter
f4a9f1a3ab Update deps 2021-07-12 06:53:32 +02:00
Christoph Reiter
15dddc3183 Use gunicorn, as suggested in the uvicorn docs 2021-03-09 08:05:33 +01:00
Christoph Reiter
02eae99833 Move to multi stage docker builds to reduce the image size 2020-11-21 12:10:37 +01:00
Christoph Reiter
5858875f01 Update dependencies 2020-11-19 18:17:35 +01:00
Christoph Reiter
c704583ff4 Use a newer poetry in docker
So it matches what I test with
2020-09-13 10:58:03 +02:00
Christoph Reiter
e8e5042457 Pass --proxy-headers to uvicorn 2020-05-26 21:23:54 +02:00
Christoph Reiter
41210d8f37 Port to FastAPI 2020-05-26 09:05:50 +02:00
Christoph Reiter
0bb4b0e659 Split app up into multiple modules
It's time..
2020-05-24 10:16:38 +02:00
Christoph Reiter
bf01b34838 Move Python app into its own directory 2020-05-24 09:09:49 +02:00
Christoph Reiter
e15d68217d Port to httpx, asyncio and poetry
Next up: maybe some asyncio framework?
2020-05-23 18:22:50 +02:00
Christoph Reiter
e6a592bc51 switch to gunicorn 2019-06-09 21:43:43 +02:00
Christoph Reiter
e60aea880e docker: move to buster to get a newer Python 2019-05-26 17:37:46 +02:00
Christoph Reiter
9a2654a815 docker: move default args to entrypoint
so we can append stuff
2018-08-26 10:22:02 +02:00
Christoph Reiter
7dc26201bc Add a Dockerfile 2018-08-26 08:06:37 +02:00