keep everything on disk for consistensysysysye
This commit is contained in:
parent
fcf424a8e9
commit
d659f8aa06
6 changed files with 3 additions and 8 deletions
|
|
@ -13,7 +13,7 @@ HealthInterval=5s
|
||||||
HealthTimeout=3s
|
HealthTimeout=3s
|
||||||
HealthRetries=5
|
HealthRetries=5
|
||||||
User=podman
|
User=podman
|
||||||
Volume=dind.volume:/home/podman/.local/share/containers:Z
|
Volume=/var/containers/dind/data:/home/podman/.local/share/containers:Z
|
||||||
Volume=/var/run/dind:/var/run/1000:z
|
Volume=/var/run/dind:/var/run/1000:z
|
||||||
Exec=sh -c "podman system service --time=0 unix:///var/run/1000/docker.sock & PID=$!; while [ ! -S /var/run/1000/docker.sock ]; do sleep 0.1; kill -0 $PID 2>/dev/null || exit 1; done && chmod 0666 /var/run/1000/docker.sock && wait $PID"
|
Exec=sh -c "podman system service --time=0 unix:///var/run/1000/docker.sock & PID=$!; while [ ! -S /var/run/1000/docker.sock ]; do sleep 0.1; kill -0 $PID 2>/dev/null || exit 1; done && chmod 0666 /var/run/1000/docker.sock && wait $PID"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
[Volume]
|
|
||||||
VolumeName=dind
|
|
||||||
|
|
@ -6,7 +6,7 @@ Image=ghcr.io/purplei2p/i2pd:latest
|
||||||
ContainerName=i2pd
|
ContainerName=i2pd
|
||||||
AutoUpdate=registry
|
AutoUpdate=registry
|
||||||
Network=host
|
Network=host
|
||||||
Volume=i2pd.volume:/home/i2pd/data:Z,U
|
Volume=/var/containers/i2pd/data:/home/i2pd/data:Z,U
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
[Volume]
|
|
||||||
|
|
@ -10,7 +10,7 @@ AutoUpdate=registry
|
||||||
PublishPort=127.0.0.1:48898:8080
|
PublishPort=127.0.0.1:48898:8080
|
||||||
Network=searxng.network
|
Network=searxng.network
|
||||||
Volume=/var/containers/searxng/config:/etc/searxng:ro,Z
|
Volume=/var/containers/searxng/config:/etc/searxng:ro,Z
|
||||||
Volume=searxng.volume:/var/cache/searxng
|
Volume=/var/containers/searxng/cache:/var/cache/searxng
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
[Volume]
|
|
||||||
VolumeName=searxng
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue