From 2c8417771d7d4917e489c74a84a1bfe3fcddd55f Mon Sep 17 00:00:00 2001 From: Mike Holloway Date: Tue, 9 Dec 2025 20:59:54 -0500 Subject: [PATCH] redis,cron - hostnames for resolution to resolve redis connection errors in data/nextcloud.log --- templates/docker-compose.yml.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index aa5e135..653e27b 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -15,7 +15,10 @@ services: redis: image: redis:alpine + hostname: redis restart: always + networks: + - podman app: image: nextcloud:stable-fpm @@ -70,6 +73,8 @@ services: - /home/{{ user.name }}/webroot:/var/www/html:z # NOTE: The `volumes` config of the `cron` and `app` containers must match entrypoint: /cron.sh + networks: + - podman depends_on: - db - redis