mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2026-04-28 04:13:14 +01:00
added docker-compose for kiwix-server via docker-compose.yml.example which supports both local and remote zim file. updated README.md to update about docker-compose.yml.example
1.0 KiB
1.0 KiB
Kiwix serve Docker image
With local ZIM file(s)
-
Download a ZIM file from https://wiki.kiwix.org/wiki/Content
-
Given
wikipedia.zimandwiktionary.zimreside in/tmp/zim/, execute the following:
docker run -v /tmp/zim:/data -p 8080:80 kiwix/kiwix-serve wikipedia.zim wiktionary.zim
With remote ZIM file
docker run -e "DOWNLOAD=https://download.kiwix.org/zim/wikipedia_bm_all.zim" -p 8080:80 kiwix/kiwix-serve
ARM
Build an image for an ARM based GNU/Linux:
docker build . -t kiwix/kiwix-serve:latest --build-arg ARCH="arm32v7/"
You can also deploy kiwix with docker-compose. Check out a sample at docker-compose.yml.example

