From 4e77f0165af7f98e1888b61a738b09ac84fc8f21 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 17 Oct 2022 13:43:15 +0100 Subject: [PATCH] Use persistent storage for tt-rss Otherwise the container fails to find the cache directory due to how updates are handled. --- ansible/roles/pve_docker/files/tt-rss/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/pve_docker/files/tt-rss/docker-compose.yml b/ansible/roles/pve_docker/files/tt-rss/docker-compose.yml index 42d350d..ad7ce41 100644 --- a/ansible/roles/pve_docker/files/tt-rss/docker-compose.yml +++ b/ansible/roles/pve_docker/files/tt-rss/docker-compose.yml @@ -11,7 +11,7 @@ services: - traefik.http.middlewares.remove-ttrss.stripprefix.prefixes=/tt-rss - traefik.http.routers.tt-rss.middlewares=remove-ttrss,add-ttrss volumes: - - /tmp/tt-rss:/var/www/html + - ./tt-rss:/var/www/html - "{{ app_data_dir }}/tt-rss/feed-icons:/var/www/html/tt-rss/feed-icons:ro" depends_on: - app @@ -36,7 +36,7 @@ services: - PHP_WORKER_MAX_CHILDREN=50 - PHP_WORKER_MEMORY_LIMIT=512M volumes: - - /tmp/tt-rss:/var/www/html + - ./tt-rss:/var/www/html - "{{ app_data_dir }}/tt-rss/feed-icons:/var/www/html/tt-rss/feed-icons" - ./plugins:/var/www/html/tt-rss/plugins.local depends_on: