mirror of
https://github.com/CoolnsX/selfhost_podman.git
synced 2025-12-20 11:55:16 +05:30
Whatever will be, will be 8{
This commit is contained in:
26
nextcloud/nextcloud_redis.container
Normal file
26
nextcloud/nextcloud_redis.container
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user