mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-22 11:22:38 -04:00
Merge pull request #504 from fazlerabbi37/feature-docker-compose
Add docker-compose for kiwix-server
This commit is contained in:
commit
f7f10597eb
@ -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
|
||||
-----------
|
||||
|
||||
|
14
docker/server/docker-compose.yml.example
Normal file
14
docker/server/docker-compose.yml.example
Normal 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'
|
Loading…
x
Reference in New Issue
Block a user