Enable nextcloud redis caching
This commit is contained in:
parent
448e3beadf
commit
9cfab6dd2a
1 changed files with 11 additions and 0 deletions
|
@ -25,6 +25,10 @@
|
|||
"/storage/dataset/docker/nextcloud/nextcloud_data:/var/www/html"
|
||||
];
|
||||
hostname = "nextcloud.ghoscht.com";
|
||||
environment = {
|
||||
REDIS_HOST = "nextcloud-redis";
|
||||
REDIS_PORT = 6379;
|
||||
};
|
||||
dns = ["1.1.1.1"];
|
||||
restart = "unless-stopped";
|
||||
networks = [
|
||||
|
@ -46,5 +50,12 @@
|
|||
"transport"
|
||||
];
|
||||
};
|
||||
nextcloud-redis.service = {
|
||||
image = "redis:alpine3.19";
|
||||
restart = "unless-stopped";
|
||||
networks = [
|
||||
"transport"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue