aboutsummaryrefslogblamecommitdiffstats
path: root/terminaldweller.com/gemini/docker-compose.yaml
blob: befa3cdc9a912115c031a12c4527059fdd2e300f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                                                                                       
            

                                

           

        
version: "3"
services:
  agate:
    image: agate
    build:
      context: .
    networks:
      - agatenet
    ports:
      - "1965:1965"
    restart: unless-stopped
    entrypoint: ["/root/.cargo/bin/agate","--content", "/srv", "--addr", "0.0.0.0:1965", "--hostname", "gemini.terminaldweller.com", "--lang", "en-US"]
    cap_drop:
      - ALL
    cap_add:
      - CHOWN
      - SETGID
      - SETUID
    volumes:
      - certs:/.certificates/:ro
      - ./srv:/srv:ro
networks:
  agatenet:
volumes:
  certs: