From f4be83afc309ddf8dc38a3cc88c41b278995f340 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Sat, 1 Jul 2023 14:07:03 +0200 Subject: [PATCH] temporary fix for mastodon cache --- ansible/roles/mastodon/docker-stack.yml.j2 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ansible/roles/mastodon/docker-stack.yml.j2 b/ansible/roles/mastodon/docker-stack.yml.j2 index 9aa6b21..1a83545 100644 --- a/ansible/roles/mastodon/docker-stack.yml.j2 +++ b/ansible/roles/mastodon/docker-stack.yml.j2 @@ -7,7 +7,6 @@ networks: mastodon: volumes: - cache: system: driver_opts: type: "nfs" @@ -83,7 +82,9 @@ services: target: /mastodon/public/system volume: nocopy: true - - cache:/mastodon/public/system/cache + - type: bind + source: /media/mastodon_cache + target: /mastodon/public/system/cache deploy: placement: constraints: @@ -146,7 +147,9 @@ services: target: /mastodon/public/system volume: nocopy: true - - cache:/mastodon/public/system/cache + - type: bind + source: /media/mastodon_cache + target: /mastodon/public/system/cache healthcheck: test: ['CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false"] deploy: