Files
home-server-docker/project/media/kiwix/kiwix.yml
2025-09-07 00:40:40 +02:00

24 lines
597 B
YAML

services:
kiwix:
extends:
file: ${TEMPLATES_PATH}
service: default
image: ghcr.io/kiwix/kiwix-serve
container_name: kiwix
ports:
- 2009:8080
networks:
- ip4net
volumes:
- ${EXTERNAL_STORAGE}/wikipedia/:/data
command:
- '*.zim'
labels:
# Watchtower
- "com.centurylinklabs.watchtower.enable=true"
# Traefik
- "traefik.enable=true"
- "traefik.http.routers.kiwix.rule=Host(`kiwix.${LOCAL_DOMAIN}`)"
- "traefik.http.routers.kiwix.entrypoints=https"
- 'traefik.http.routers.kiwix.tls=true'