23 lines
637 B
YAML
23 lines
637 B
YAML
services:
|
|
kiwix-serve:
|
|
ports:
|
|
- 8082:8082
|
|
image: ghcr.io/kiwix/kiwix-serve:latest
|
|
# uncomment next 4 lines to use it with local zim file in /tmp/zim
|
|
volumes:
|
|
- /tank/storage/media/Cloud/Kiwix:/data
|
|
command:
|
|
- 'wikipedia_en_all_maxi_2024-01.zim'
|
|
# uncomment next 2 lines to use it with remote zim file
|
|
environment:
|
|
- PORT=8082
|
|
- VIRTUAL_HOST=wiki.${DOMAIN}
|
|
- VIRTUAL_PORT=8082
|
|
- LETSENCRYPT_HOST=wiki.${DOMAIN}
|
|
- LETSENCRYPT_EMAIL=${EMAIL}
|
|
expose:
|
|
- "8082"
|
|
networks:
|
|
default:
|
|
name: nginx-proxy
|
|
external: true |