Enable nextcloud redis caching

This commit is contained in:
GHOSCHT 2024-03-31 23:20:21 +02:00
parent 448e3beadf
commit 9cfab6dd2a
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -25,6 +25,10 @@
"/storage/dataset/docker/nextcloud/nextcloud_data:/var/www/html" "/storage/dataset/docker/nextcloud/nextcloud_data:/var/www/html"
]; ];
hostname = "nextcloud.ghoscht.com"; hostname = "nextcloud.ghoscht.com";
environment = {
REDIS_HOST = "nextcloud-redis";
REDIS_PORT = 6379;
};
dns = ["1.1.1.1"]; dns = ["1.1.1.1"];
restart = "unless-stopped"; restart = "unless-stopped";
networks = [ networks = [
@ -46,5 +50,12 @@
"transport" "transport"
]; ];
}; };
nextcloud-redis.service = {
image = "redis:alpine3.19";
restart = "unless-stopped";
networks = [
"transport"
];
};
}; };
} }