mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-25 13:19:59 -04:00
Example with multiple ZIM files
This commit is contained in:
parent
88269c1ff2
commit
d1d72218b3
@ -1,15 +1,15 @@
|
||||
Kiwix serve Docker image
|
||||
========================
|
||||
|
||||
With local ZIM file
|
||||
-------------------
|
||||
With local ZIM file(s)
|
||||
----------------------
|
||||
|
||||
* Download a ZIM file from <https://wiki.kiwix.org/wiki/Content>
|
||||
|
||||
* Given `wikipedia.zim` resides in `/tmp/zim/`, execute the following:
|
||||
* Given `wikipedia.zim` and `wiktionary.zim` reside in `/tmp/zim/`, execute the following:
|
||||
|
||||
```bash
|
||||
docker run -v /tmp/zim:/data -p 8080:80 kiwix/kiwix-serve wikipedia.zim
|
||||
docker run -v /tmp/zim:/data -p 8080:80 kiwix/kiwix-serve wikipedia.zim wiktionary.zim
|
||||
```
|
||||
|
||||
With remote ZIM file
|
||||
|
Loading…
x
Reference in New Issue
Block a user