mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2025-12-20 03:45:16 +05:30
26 lines
545 B
Plaintext
26 lines
545 B
Plaintext
[Unit]
|
|
Description=Nextcloud Valkey Container
|
|
|
|
[Container]
|
|
Pod=nextcloud.pod
|
|
ContainerName=nextcloud_valkey
|
|
Image=docker.io/valkey/valkey:alpine
|
|
Exec=--unixsocket /tmp/docker/valkey.sock --unixsocketperm 777
|
|
|
|
# Enable auto-update container
|
|
AutoUpdate=registry
|
|
# pass this to attach it to container
|
|
EnvironmentFile=./.env
|
|
|
|
Volume=%h/podman/nextcloud/valkey:/data
|
|
|
|
[Service]
|
|
# pass this to autofill above variables
|
|
EnvironmentFile=%h/.config/containers/systemd/nextcloud/.env
|
|
Restart=always
|
|
TimeoutStartSec=300
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
|