An Alpine Linux based Docker image for the Gophernicus Gopher server.
Find a file
Josh 34dce6c3b1 Configuration via env & logging
Add an init entrypoint script to write out gophernicus xinetd
configuration using arguments sourced from the environment.

Default to apache-style logs and tail the output to stdout.
2020-05-26 22:28:47 -04:00
Dockerfile Configuration via env & logging 2020-05-26 22:28:47 -04:00
init.sh Configuration via env & logging 2020-05-26 22:28:47 -04:00
LICENSE Initial commit 2020-05-25 22:22:23 -04:00
README.md Add Dockerfile 2020-05-25 23:39:29 -04:00
xinetd.conf Configuration via env & logging 2020-05-26 22:28:47 -04:00

docker-gophernicus

An Alpine Linux based Docker image for the Gophernicus Gopher server (https://github.com/gophernicus/gophernicus).

Do you just want to run a simple Gopher service? Do you not want to mess the hassle of setting up old-school inetd/xinetd/systemd sockets/etc? Are you already running all your other services as containers? Well so did I!

This image runs Gophernicus via xinetd on an Alpine Linux base for a Docker image that weighs in at just a smidge under 7MB. Set your hostname, point your favorite volume at /var/gopher, bind port 70 and go!

ex:

docker build -t gophernicus .

docker run --name gophernicus \
	--hostname <your gopher hostname> \
	-p 70:70 \
	-v <your gopher root>:/var/gopher \
	gophernicus

TODO

  • Logging to stdout
  • Configuration via environment variables