temporary fix for mastodon cache
This commit is contained in:
parent
10d7efb36b
commit
f4be83afc3
1 changed files with 6 additions and 3 deletions
|
@ -7,7 +7,6 @@ networks:
|
||||||
mastodon:
|
mastodon:
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
cache:
|
|
||||||
system:
|
system:
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: "nfs"
|
type: "nfs"
|
||||||
|
@ -83,7 +82,9 @@ services:
|
||||||
target: /mastodon/public/system
|
target: /mastodon/public/system
|
||||||
volume:
|
volume:
|
||||||
nocopy: true
|
nocopy: true
|
||||||
- cache:/mastodon/public/system/cache
|
- type: bind
|
||||||
|
source: /media/mastodon_cache
|
||||||
|
target: /mastodon/public/system/cache
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
|
@ -146,7 +147,9 @@ services:
|
||||||
target: /mastodon/public/system
|
target: /mastodon/public/system
|
||||||
volume:
|
volume:
|
||||||
nocopy: true
|
nocopy: true
|
||||||
- cache:/mastodon/public/system/cache
|
- type: bind
|
||||||
|
source: /media/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:
|
||||||
|
|
Reference in a new issue