diff --git a/hosts/franz/arion/nextcloud/arion-compose.nix b/hosts/franz/arion/nextcloud/arion-compose.nix index d922a66..447bd38 100644 --- a/hosts/franz/arion/nextcloud/arion-compose.nix +++ b/hosts/franz/arion/nextcloud/arion-compose.nix @@ -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" + ]; + }; }; }