Simple lightweight python files server. #krash https://pages.charlesreid1.com/d-python-files
Charles Reid 473b497e28 Update mkdocs.yml for mkdocs 1.0 4 months ago
docs housekeeping 7 months ago
files add the basic docker-compose and some sample files 8 months ago
mkdocs-material @ b0c6890853 Update mkdocs-material for mkdocs 1.0 4 months ago
.gitignore housekeeping 7 months ago
.gitmodules add init version of docs 7 months ago
README.md updating readme and mkdocs, updating footer 7 months ago
docker-compose.yml update to ues jfloff/alpine-python 8 months ago
mkdocs.yml Update mkdocs.yml for mkdocs 1.0 4 months ago

README.md

d-python-files

This container runs a simple lightweight Python HTTP file server for files.charlesreid1.com.

Here’s the one-liner:

python3 -m http.simple -b <docker-ip> -p <port>

This binds to the docker network and listens for requests on a port. Requests for files.charlesreid1.com are reverse-proxied by the nginx frontend (see d-nginx-charlesreid1) and passed along to the internal docker network.

This uses jfloff/alpine-python:recent (see jflof/alpine-python).

Links

documentation: d-python-files container (you are here)

source code on git.charlesreid1.com: d-python-files

source code on github.com: charlesreid1-docker/d-python-files