P6: Migrate Kiwix and Transmission to Kubernetes #39
1 changed files with 2 additions and 2 deletions
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>
commit
79cb5a579e
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue