add agate docker config

This commit is contained in:
John Bowdre 2024-03-21 12:59:50 -05:00
parent 67f77fad54
commit a70c5b60d1
3 changed files with 24 additions and 0 deletions

7
agate/Dockerfile Normal file
View file

@ -0,0 +1,7 @@
FROM rust:latest
RUN cargo install agate
WORKDIR /var/agate
ENTRYPOINT ["agate"]

5
agate/README.md Normal file
View file

@ -0,0 +1,5 @@
# Agate
[Agate](https://github.com/mbrubeck/agate) is a simple Gemini server for static files.
This folder holds the Docker config that I use to manage my Agate server and serve my Capsule.

12
agate/docker-compose.yaml Normal file
View file

@ -0,0 +1,12 @@
version: "3.9"
services:
agate:
restart: always
build: .
container_name: agate
volumes:
- ./content:/var/agate/content
- ./certs:/var/agate/certs
ports:
- "1965:1965"
command: --content content --certs certs --addr 0.0.0.0:1965 --hostname gmi.runtimeterror.dev --hostname capsule.jbowdre.lol --lang en-US