Dockerfile for agate

Background

My domain runs on a Linode server. To try to make my life a little easier, I've standardized on running all my services in Docker containers (whether this actually makes my life easier or not is up for debate). Since I wanted to run an agate server, too, I decided to put together a little Docker container to help me.

Generating Certificates

You'll need to generate your own key and cert, and keep them in the same file as the Dockerfile when you build your container. The quickest way is to do:

Just replace example.com with the correct domain name!

Building the Container

Stick the key.rsa, cert.pem, and Dockerfile into the same directory, and then build with:

Running the Container

To run this, you'd do something like:

Here, /your/gemini/files is where you store your actual content.

The Dockerfile

Back Home