Use valkey caching in nextcloud

This commit is contained in:
Mathieu Strypsteen 2024-08-19 22:26:38 +02:00
parent 7a59d96e95
commit 24298d3fe1
Signed by: mathieu
GPG key ID: 782A42E461BC6824
4 changed files with 13 additions and 2 deletions

View file

@ -1,10 +1,11 @@
[Unit]
Requires=postgresql.service
After=postgresql.service
Requires=postgresql.service valkey.service
After=postgresql.service valkey.service
[Container]
Image=docker.io/nextcloud
Network=nginx.network
Network=postgresql.network
Network=valkey.network
Entrypoint=sh
Exec=-c "chown -Rh www-data:www-data /var/www/html && busybox crond && /entrypoint.sh apache2-foreground > /dev/null"
Volume=nextcloud.volume:/var/www/html:U,Z

View file

@ -0,0 +1,7 @@
[Container]
Image=cgr.dev/chainguard/valkey
Network=valkey.network
Volume=valkey.volume:/data:U,Z
AutoUpdate=registry
[Install]
WantedBy=multi-user.target

View file

@ -0,0 +1,3 @@
[Network]
IPv6=true
Options=isolate=true