A gemini server using Agate
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
George Sokianos 67b4c76435 Updated agate server to v3.3.0 7 months ago
content Added demo content 10 months ago
Dockerfile Updated agate server to v3.3.0 7 months ago
LICENSE Initial commit 11 months ago
Makefile Updated agate server to v3.3.0 7 months ago
README.md Added information in the readme file 10 months ago

README.md

agate-gemini docker image

A Gemini server using Agate.

This image is created having in mind to be used with a Traefik proxy server which will deal with the certication. That's why no certification is created inside the image in build time.

To use it with Traefik and docker-compose you need to create two files with the following content in the same folder.

.env

PROJECT_NAME=mygemini
HOSTNAME=mygemini.demo.com

docker-compose.yml

version: "3"

services:
  agate:
    image: walkero/agate-gemini
    container_name: "${PROJECT_NAME}_agate"
    environment:
      HOSTNAME: ${HOSTNAME}
    volumes:
      - ./content:/home/gemini/content
    labels:
      - "traefik.enable=true"
      - traefik.tcp.routers.${PROJECT_NAME}_gemini.entrypoints=gemini
      - traefik.tcp.routers.${PROJECT_NAME}_gemini.rule=HostSNI(`*`)
      - traefik.tcp.routers.${PROJECT_NAME}_gemini.service=${PROJECT_NAME}_gemini
      - traefik.tcp.services.${PROJECT_NAME}_gemini.loadbalancer.server.port=1965

To create the container you just need to run:

docker-compose up -d

Your gemtext files should be added at the content folder. Those are accessible from the container as well.