Commit Graph

11 Commits

Author SHA1 Message Date
Klaas van Schelven
67cfbb58d7 Use 'monofy' package now that it is extracted 2024-09-04 22:54:27 +02:00
Klaas van Schelven
b1baa529d4 Use '&&' and '|||' in server-unified syntax 2024-08-29 08:39:34 +02:00
Klaas van Schelven
4c38473865 server-unified: generalize for serial/parallel approach that is not django-specific 2024-08-29 08:34:06 +02:00
Klaas van Schelven
4e613a943e Port 8000 as the default port _everywhere_
This is more canonical with stuff 'elsewhere on the internet'

we already did it behind-the-scenes for 'recommended gunicorn', so the
harmonization is in having the same default for the rest.
2024-08-28 15:21:00 +02:00
Klaas van Schelven
14ffbb7a48 Docker: configurable using env vars 2024-08-28 12:37:13 +02:00
Klaas van Schelven
98b08cb2e3 Run PYTHONUNBUFFERED
'for good measure'; I've seen this before and remembered it (i.e. I have not
actually observed a need for it this time).

https://stackoverflow.com/a/59812588/339144
2024-08-27 21:57:02 +02:00
Klaas van Schelven
f6c43d4d6d bugsink-server-unified: run in Docker 2024-08-27 21:53:13 +02:00
Klaas van Schelven
e4174d1e64 mysqlclient out of requirements.txt
just install it where we need it, namely in the Docker image
2024-08-27 09:50:31 +02:00
Klaas van Schelven
f20104770e Docker from wheel, not sourcecode
this way we reuse all the thinking we did when getting the Python wheels in order.
* what to include/exclude
* setting up the scripts
2024-08-27 09:48:39 +02:00
Klaas van Schelven
200ea5eb84 Docker image: Ubuntu -> python-slim
* I'd rather harmonize with "the docker way" than with my own recommended setup
* slim: expectation is that this is smaller (not checked)
* this is a 2-stage build (slim has no gcc, needed for mysql)
* PEP668 does not apply here ("externally managed"), which leads to
* better ergonomics: no env/bin/some-command
2024-08-27 09:04:42 +02:00
Klaas van Schelven
d00d007306 Dockerfile(s): the afternoon's progress 2024-08-26 20:37:55 +02:00