From 6e239d5cb66f979dc9d8eef93f9cbc3bdcdbb34f Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Wed, 24 May 2023 09:42:15 +0200 Subject: [PATCH 1/2] Add link to Kiwix server container image --- docker/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/README.md b/docker/README.md index 7d45858..ea87ca8 100644 --- a/docker/README.md +++ b/docker/README.md @@ -30,3 +30,7 @@ docker run -v $(pwd):/data -it ghcr.io/kiwix/kiwix-tools kiwix-search /data/wiki - `wget` in `alpine:3` on `arm/v7` (__inside github action only__) crashes when downloading from HTTPs locations. Keep http-only in Dockerfile. - Was also unhappy when using the mirrors so it's using `mirror.download` on purpose. + +## See also + +If you are interested by a Kiwix server only container image, [here it is](server/README.md). \ No newline at end of file From a463c31a0ce70395a8b943c0f93fd20301d1dcb5 Mon Sep 17 00:00:00 2001 From: Emmanuel Engelhart Date: Wed, 24 May 2023 09:49:14 +0200 Subject: [PATCH 2/2] Add example with globbing --- docker/server/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker/server/README.md b/docker/server/README.md index 1def593..d31a3ed 100644 --- a/docker/server/README.md +++ b/docker/server/README.md @@ -12,6 +12,12 @@ With local ZIM file(s) docker run -v /tmp/zim:/data -p 8080:8080 ghcr.io/kiwix/kiwix-serve wikipedia.zim wiktionary.zim ``` +or, if you want to load all ZIM files within a directory, then use globbing: + +```bash +docker run -v /tmp/zim:/data -p 8080:8080 ghcr.io/kiwix/kiwix-serve '*.zim' +``` + With remote ZIM file --------------------