Whatever will be, will be 8{

This commit is contained in:
coolnsx
2025-03-24 10:26:16 +05:30
parent 563f394177
commit e4aa4a63d9
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
[Unit]
Description=Nextcloud Redis Container
[Container]
Pod=nextcloud.pod
ContainerName=nextcloud_redis
Image=docker.io/library/redis:alpine
Exec=redis-server --unixsocket /tmp/docker/redis.sock --unixsocketperm 777
# Enable auto-update container
AutoUpdate=registry
# pass this to attach it to container
EnvironmentFile=./.env
Volume=%h/podman/nextcloud/redis:/data
Volume=%h/podman/nextcloud/.socket:/tmp/docker
[Service]
# pass this to autofill above variables
EnvironmentFile=%h/.config/containers/systemd/nextcloud/.env
Restart=always
TimeoutStartSec=300
[Install]
WantedBy=default.target