You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kiwix-tools/docker/server
Jacob Roeland 0f25fa69d3
Surround wildcard statement in quotes
3 years ago
..
pictures New kiwix-serve screenshots 7 years ago
Dockerfile Modify default port so it cna be used on secured kubernetes 3 years ago
README.md Fixed README 3 years ago
docker-compose.yml.example Surround wildcard statement in quotes 3 years ago
start.sh Modify default port so it cna be used on secured kubernetes 3 years ago

README.md

Kiwix serve Docker image

With local ZIM file(s)

docker run -v /tmp/zim:/data -p 8080:8080 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:8080 kiwix/kiwix-serve

Change default port

You can change port to expose with environment variable PORT, useful if running on Podman, K8s or OpenShift

podman run -e "DOWNLOAD=https://download.kiwix.org/zim/wikipedia_bm_all.zim" -e PORT=8888 -p 8080:8888 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

Screenshots

screenshot_1.png screenshot_2.png