I've found it very useful with php tools to use the instructions here:
https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes#PHP
where it says "You may run the container on your *local* computer (not on
Toolforge servers) by executing a command like this: ..."
which allows testing changes locally in a nice way before deploying them.
However there doesn't seem to be anything equivalent for the python images
- I can see what's available here:
https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web#Python_(uWSGI)
and I can see I should use the image
docker-registry.tools.wmflabs.org/toolforge-python37-web
(by the way,
docker-registry.toolforge.org does NOT work right now when
fetching images!)
but I can't figure out how to tell the image where to find the python app
in the docker start command. Any hints out there?
Arthur