Initial commit
This commit is contained in:
7
quadlets/kiwix/kiwix-data.volume
Normal file
7
quadlets/kiwix/kiwix-data.volume
Normal file
@@ -0,0 +1,7 @@
|
||||
[Volume]
|
||||
Copy=true
|
||||
Device=/var/mnt/nas/containers/kiwix/storage/data
|
||||
Driver=local
|
||||
Options=bind
|
||||
Type=none
|
||||
VolumeName=kiwix-data
|
||||
18
quadlets/kiwix/kiwix.container
Normal file
18
quadlets/kiwix/kiwix.container
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Kiwix container
|
||||
|
||||
[Container]
|
||||
AutoUpdate=registry
|
||||
ContainerName=kiwix
|
||||
Exec='*.zim'
|
||||
Image=ghcr.io/kiwix/kiwix-serve:latest
|
||||
Pod=kiwix.pod
|
||||
StartWithPod=true
|
||||
Timezone=Europe/Zurich
|
||||
Volume=kiwix-data.volume:/data
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
3
quadlets/kiwix/kiwix.pod
Normal file
3
quadlets/kiwix/kiwix.pod
Normal file
@@ -0,0 +1,3 @@
|
||||
[Pod]
|
||||
PodName=kiwix
|
||||
PublishPort=9017:8080
|
||||
Reference in New Issue
Block a user