blob: 42a8a88eae1b6e5ba0fa820d4f14243cae52c585 (
plain) (
tree)
|
|
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:
# we have to use the same cert because of TOFU
- certs:/.certificates/
- ./index.gmi:/srv/index.gmi:ro
networks:
agatenet:
volumes:
certs:
|