d-python-helium¶
Like d-python-files, but for serving static sites instead of files.
Static files only.
Port and bind address should both be configurable.
Helium Application¶
The helium appcliation is a twisted network application that serves different folders of static content on different ports.
See Helium.md.
Dockerfile and Base Image¶
The core idea behind python helium is to be as lightweight as possible,
so this uses jfloff/alpine-python:recent
(see jflof/alpine-python).
See Docker.md
Static Content Layout¶
Python Helium expects static content to live in /www
inside the container. The document below
details how to bind-mount each subdomain's
static content/one-pager into the container
for the helium.py
application.
See Layout.md
Note on Future Development¶
At this point, this repo was abandoned in favor of d-nginx-subdomains, but it is a useful tool that we'll keep around for a future application.