services:
etherpad:
user: "1000:1000"
image: etherpad/etherpad:latest
container_name: etherpad
restart: unless-stopped
environment:
TRUST_PROXY: "true"
volumes:
- ./data:/opt/etherpad-lite/var
- ./settings.json:/opt/etherpad-lite/settings.json # Deine User-Konfiguration
networks:
- traefik-public
labels:
- "traefik.enable=true"
- "traefik.http.routers.etherpad.rule=Host(`etherpad.xinux.net`)"
- "traefik.http.routers.etherpad.entrypoints=websecure"
- "traefik.http.routers.etherpad.tls.certresolver=letsencrypt"
- "traefik.http.services.etherpad.loadbalancer.server.port=9001"
# KEIN BasicAuth hier! Etherpad macht das selbst!
networks:
traefik-public:
external: true