feat: move nfs to host
This commit is contained in:
parent
363046c1da
commit
1d8efba8c4
1 changed files with 1 additions and 14 deletions
|
|
@ -27,16 +27,6 @@
|
|||
group: "blackbeard"
|
||||
mode: "0775"
|
||||
|
||||
# create nfs mount
|
||||
- name: "create media volume"
|
||||
community.docker.docker_volume:
|
||||
driver: "local"
|
||||
driver_options:
|
||||
type: "nfs4"
|
||||
o: "rw,relatime,vers=4.2,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,nconnect=2,timeo=600,retrans=2,sec=sys,local_lock=none,addr=192.168.10.41"
|
||||
device: ":/srv/nfs/media"
|
||||
volume_name: "media"
|
||||
|
||||
# docker pull jellyfin
|
||||
- name: "run jellyfin"
|
||||
community.docker.docker_container:
|
||||
|
|
@ -73,7 +63,7 @@
|
|||
volumes:
|
||||
- "/mnt/jellyfin/cache:/cache"
|
||||
- "/mnt/jellyfin/config:/config"
|
||||
- "media:/mnt/media/"
|
||||
- "/mnt/media:/mnt/media"
|
||||
|
||||
env:
|
||||
|
||||
|
|
@ -81,8 +71,5 @@
|
|||
PUID: "{{ jellyfin_puid }}"
|
||||
PGID: "{{ blackbeard_guid }}"
|
||||
|
||||
# jellyfin
|
||||
JELLYFIN_CACHE_DIR: "/cache"
|
||||
|
||||
# global
|
||||
TZ: "{{ timezone }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue