move mastodon cache to nfs

This commit is contained in:
Pim Kunis 2023-07-14 17:29:45 +02:00
parent 6c191769bd
commit 3bf589e10e

View file

@ -68,9 +68,6 @@ services:
target: /mastodon/public/system target: /mastodon/public/system
volume: volume:
nocopy: true nocopy: true
- type: bind
source: /mnt/data/mastodon/cache
target: /mastodon/public/system/cache
deploy: deploy:
placement: placement:
constraints: constraints:
@ -138,9 +135,6 @@ services:
target: /mastodon/public/system target: /mastodon/public/system
volume: volume:
nocopy: true nocopy: true
- type: bind
source: /mnt/data/mastodon/cache
target: /mastodon/public/system/cache
healthcheck: healthcheck:
test: ['CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false"] test: ['CMD-SHELL', "ps aux | grep '[s]idekiq\ 6' || false"]
deploy: deploy: