diff --git a/home/etc/containers/systemd/nextcloud.container b/home/etc/containers/systemd/nextcloud.container index 6c6ab01..c2332d1 100644 --- a/home/etc/containers/systemd/nextcloud.container +++ b/home/etc/containers/systemd/nextcloud.container @@ -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 diff --git a/home/etc/containers/systemd/valkey.container b/home/etc/containers/systemd/valkey.container new file mode 100644 index 0000000..448e415 --- /dev/null +++ b/home/etc/containers/systemd/valkey.container @@ -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 diff --git a/home/etc/containers/systemd/valkey.network b/home/etc/containers/systemd/valkey.network new file mode 100644 index 0000000..75d15e6 --- /dev/null +++ b/home/etc/containers/systemd/valkey.network @@ -0,0 +1,3 @@ +[Network] +IPv6=true +Options=isolate=true diff --git a/home/etc/containers/systemd/valkey.volume b/home/etc/containers/systemd/valkey.volume new file mode 100644 index 0000000..e69de29