move overleaf data to nfs
This commit is contained in:
parent
06fb6a5286
commit
679a877a39
2 changed files with 13 additions and 2 deletions
|
@ -26,6 +26,8 @@ nfs_shares:
|
||||||
path: /mnt/data/mastodon/system
|
path: /mnt/data/mastodon/system
|
||||||
- name: forgejo
|
- name: forgejo
|
||||||
path: /mnt/data/forgejo
|
path: /mnt/data/forgejo
|
||||||
|
- name: overleaf
|
||||||
|
path: /mnt/data/overleaf
|
||||||
|
|
||||||
database_passwords:
|
database_passwords:
|
||||||
nextcloud: !vault |
|
nextcloud: !vault |
|
||||||
|
|
|
@ -5,6 +5,13 @@ networks:
|
||||||
external: true
|
external: true
|
||||||
overleaf:
|
overleaf:
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
data:
|
||||||
|
driver_opts:
|
||||||
|
type: "nfs"
|
||||||
|
o: "addr=192.168.30.10,nolock,soft,rw"
|
||||||
|
device: ":/mnt/data/overleaf"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
sharelatex:
|
sharelatex:
|
||||||
image: sharelatex/sharelatex:3
|
image: sharelatex/sharelatex:3
|
||||||
|
@ -16,9 +23,11 @@ services:
|
||||||
- overleaf-redis
|
- overleaf-redis
|
||||||
stop_grace_period: 60s
|
stop_grace_period: 60s
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: volume
|
||||||
source: /mnt/data/overleaf/sharelatex_data
|
source: data
|
||||||
target: /var/lib/sharelatex
|
target: /var/lib/sharelatex
|
||||||
|
volume:
|
||||||
|
nocopy: true
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
|
|
Reference in a new issue