22 lines
529 B
Plaintext
22 lines
529 B
Plaintext
[Unit]
|
|
Description=Nextcloud Redis container
|
|
|
|
[Container]
|
|
AutoUpdate=registry
|
|
ContainerName=nextcloud-redis
|
|
Environment=TZ=Europe/Zurich
|
|
Exec=/bin/sh -c 'redis-server --appendonly yes --requirepass $${REDIS_PASSWORD}'
|
|
Image=docker.io/redis:alpine
|
|
Pod=nextcloud.pod
|
|
Secret=nextcloud-redis-password,type=env,target=REDIS_PASSWORD
|
|
StartWithPod=true
|
|
Timezone=Europe/Zurich
|
|
Volume=nextcloud-redis-config.volume:/usr/local/etc/redis
|
|
Volume=nextcloud-redis-data.volume:/data
|
|
|
|
[Service]
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=default.target
|