mirror of
https://github.com/tiyn/wiki.git
synced 2026-07-02 18:11:35 +02:00
- substituted en-dash for hyphen where needed - renamed files to avoid confusion due to identical name - added links - fixed capitalization - fixed line breaks
1.2 KiB
1.2 KiB
/maintainer/ – /name/
This is a Docker container for a Kiwix server. The official container and documentation was made by kiwix.
Set-up
Create the file rebuild.sh.
Make sure to place the .zim files inside the volume.
Change the settings according to your needs and run ./rebuild.sh afterward.
Ports
Set the following ports in the ports: section.
| Container Port | Recommended outside port | Protocol | Description |
|---|---|---|---|
80 |
80 |
TCP | WebUI |
Volumes
Set the following volumes with the -v tag.
| Outside mount/volume name | Container mount | Description |
|---|---|---|
kiwix_data |
/data |
Data directory |
rebuild.sh
docker stop kiwix-serve
docker rm kiwix-serve
docker pull ghcr.io/kiwix/kiwix-serve
docker run --name kiwix-serve \
--restart unless-stopped \
-v kiwix_data:/data \
-p 80:80 \
-d ghcr.io/kiwix/kiwix-serve \
*.zim