Merge pull request #504 from fazlerabbi37/feature-docker-compose

Add docker-compose for kiwix-server
This commit is contained in:
Kelson 2021-12-11 05:13:30 +01:00 committed by GitHub
commit f7f10597eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

View File

@ -27,6 +27,8 @@ 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`](https://docs.docker.com/compose/). Check out a sample at [docker-compose.yml.example](docker-compose.yml.example)
Screenshots
-----------

View File

@ -0,0 +1,14 @@
version: '3.3'
services:
kiwix-serve:
ports:
- 8080:80
image: kiwix/kiwix-serve
# uncomment next 4 lines to use it with local zim file in /tmp/zim
# volumes:
# - /tmp/zim:/data
# command:
# - *.zim
# uncomment next 2 lines to use it with remote zim file
# environment:
# - 'DOWNLOAD=https://download.kiwix.org/zim/wikipedia_bm_all.zim'