💾 Archived View for rawtext.club › ~sloum › geminilist › 005188.gmi captured on 2023-09-28 at 17:16:22. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

-=-=-=-=-=-=-

<-- back to the mailing list

Storing capsule pages?

Matthew Ernisse matt at going-flying.com

Fri Feb 12 23:11:44 GMT 2021

- - - - - - - - - - - - - - - - - - - 

On Fri, Feb 12, 2021 at 11:46:28PM +0100, David Emerson said unto me:

I'm interested to hear how you all are updating your capsules. I'm
just building out my infrastructure, and I've decided to use Docker
for my gemini server (agate) and for my proxy (kineto).

I've written a little bit about how my capsule is put together butthe basic overview is this. Molly Brown runs in a container that hasread-only bind mounts to the document root and the bare git repository.The former is updated by a git post-receive hook running on the serverthat hosts the filesystem, the latter is the actual repository so thatone can browse it via the git.gmi cgi.

gemini://going-flying.com/how-built.gmi

Those who have regularly updated pages, though: how do you update
them? I've been thinking I'll just use GitHub to store the capsule
root, and reference that from the gemini server, but is there a
smarter way?

Off the top of my head, you could have your container's entry point doa git clone of your github repository into your in-container documentroot and just restart the container every time you want an update.

--Matt