P6: Migrate Kiwix and Transmission to Kubernetes #39

Merged
eblume merged 8 commits from feature/p6-kiwix-transmission-take2 into main 2026-01-21 18:07:41 -08:00
Showing only changes of commit 79cb5a579e - Show all commits

Fix kiwix-serve command to use shell for glob expansion

The container image has its own entrypoint that conflicts with passing
args directly. Use a shell command to expand the glob properly.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Erich Blume 2026-01-21 17:10:46 -08:00

View file

@ -21,9 +21,9 @@ spec:
# Main kiwix-serve container # Main kiwix-serve container
- name: kiwix-serve - name: kiwix-serve
image: ghcr.io/kiwix/kiwix-serve:3.8.1 image: ghcr.io/kiwix/kiwix-serve:3.8.1
command: ["/bin/sh", "-c"]
args: args:
- --port=80 - "kiwix-serve --port=80 /data/*.zim"
- /data/*.zim # Serves ALL .zim files, regardless of how they were added
ports: ports:
- containerPort: 80 - containerPort: 80
name: http name: http