diff --git a/compose/kiwix/.env.example b/compose/kiwix/.env.example new file mode 100644 index 0000000..7bf0a73 --- /dev/null +++ b/compose/kiwix/.env.example @@ -0,0 +1,2 @@ +PORT="8027" +ZIM_PATH="/path/to/your/zims" \ No newline at end of file diff --git a/compose/kiwix/docker-compose.yml b/compose/kiwix/docker-compose.yml new file mode 100644 index 0000000..82db7f7 --- /dev/null +++ b/compose/kiwix/docker-compose.yml @@ -0,0 +1,10 @@ +services: + kiwix-serve: + image: ghcr.io/kiwix/kiwix-serve:latest + container_name: kiwix + ports: + - "${PORT:-8027}:8080" + volumes: + - "${ZIM_PATH:?}:/data" + command: + - '*.zim' \ No newline at end of file