Running Gemfast as a Docker Container
It is recommended to create some directories to mount into the Gemfast container otherwise the application data will be removed along with the container.
/var/gemfastis for app data
/etc/gemfastis for the configuration file
/etc/machine-idis only needed when using a licensed version of Gemfast
mkdir -p data
mkdir -p config
Next start the container with the volumes mounted:
docker run -d --name gemfast-server -p 2020:2020 \
-v data:/var/gemfast \
-v config:/etc/gemfast \
-v /etc/machine-id:/etc/machine-id \
The main difference between the debian packaged version and the docker image is that Caddy is not included in the docker image. That means Gemfast is listening on port 2020 by default and no automatic HTTPS is supported.
Running Gemfast on Kubernetes