Simplify plex's user-config
It now relies on container spun in dockge
This commit is contained in:
parent
7459cc29b6
commit
197c03fd6d
|
@ -1,81 +1,9 @@
|
||||||
services:
|
services:
|
||||||
plex:
|
plex:
|
||||||
network_mode: "" #container:plexnet
|
|
||||||
networks:
|
|
||||||
lan:
|
|
||||||
ipv4_address: 192.168.222.46
|
|
||||||
environment:
|
environment:
|
||||||
PUID: "${SZ_USER_UID}"
|
PUID: "${SZ_USER_UID}"
|
||||||
PGID: "${SZ_USER_GID}"
|
PGID: "${SZ_USER_GID}"
|
||||||
volumes:
|
network_mode: "container:plexnet"
|
||||||
# dummy.config is used to preserve /config permissions only, this prevents the recursive chown from running on startup
|
#networks: []
|
||||||
- /srv/plex/dummy.config:/config
|
volumes_from:
|
||||||
# Actual plex/config dataset
|
- "container:plexvols"
|
||||||
- /srv/plex/config:/config/Library/Application Support/Plex Media Server
|
|
||||||
# Actual plex/transcode dataset
|
|
||||||
- /srv/plex/transcode:/transcode
|
|
||||||
|
|
||||||
# NFS mounts
|
|
||||||
- media1video:/media/1/video
|
|
||||||
- media0:/media/0
|
|
||||||
- media0personal:/media/0.personal
|
|
||||||
|
|
||||||
#- ${APP_DATA_DIR}/data/config:/config
|
|
||||||
|
|
||||||
# Throwaway volumes:
|
|
||||||
- cache_root:/config/Library/Application Support/Plex Media Server/Cache
|
|
||||||
# - crash_reports:/config/Library/Application Support/Plex Media Server/Crash Reports
|
|
||||||
# - cache_Metadata:/config/Library/Application Support/Plex Media Server/Metadata/Cache
|
|
||||||
# - cache_Metadata_PlugInSupport:/config/Library/Application Support/Plex Media Server/Metadata/Plug-in Support/Cache
|
|
||||||
# - /srv/plex/transcode:/config/Library/Application Support/Plex Media Server/Transcode
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
media1:
|
|
||||||
external: true
|
|
||||||
# driver_opts:
|
|
||||||
# type: nfs
|
|
||||||
# o: addr=kateryna.lan,nolock,soft,rw
|
|
||||||
# device: :/mnt/szusb1/z/media
|
|
||||||
media1video:
|
|
||||||
external: true
|
|
||||||
# driver_opts:
|
|
||||||
# type: nfs
|
|
||||||
# o: addr=kateryna.lan,nolock,soft,rw
|
|
||||||
# device: :/mnt/szusb1/z/media/video
|
|
||||||
media0personal:
|
|
||||||
external: true
|
|
||||||
# driver_opts:
|
|
||||||
# type: nfs
|
|
||||||
# o: addr=kateryna.lan,nolock,soft,rw
|
|
||||||
# device: :/mnt/szmedia/media.personal
|
|
||||||
media0:
|
|
||||||
external: true
|
|
||||||
# driver_opts:
|
|
||||||
# type: nfs
|
|
||||||
# o: addr=kateryna.lan,nolock,soft,rw
|
|
||||||
# device: :/mnt/szmedia/media
|
|
||||||
cache_root:
|
|
||||||
external: true
|
|
||||||
name: plex_cache_root
|
|
||||||
crash_reports:
|
|
||||||
external: true
|
|
||||||
name: plex_crash_reports
|
|
||||||
cache_Metadata:
|
|
||||||
external: true
|
|
||||||
name: plex_cache_Metadata
|
|
||||||
cache_Metadata_PlugInSupport:
|
|
||||||
external: true
|
|
||||||
name: plex_cache_Metadata_PlugInSupport
|
|
||||||
|
|
||||||
networks:
|
|
||||||
lan:
|
|
||||||
external: true
|
|
||||||
# driver: ipvlan
|
|
||||||
# ipam:
|
|
||||||
# config:
|
|
||||||
# - subnet: ${MY_SUBNET}
|
|
||||||
# gateway: ${MY_IPv4_GW}
|
|
||||||
# # - subnet: 192.168.1.0/24
|
|
||||||
# driver_opts:
|
|
||||||
# com.docker.network.enable_ipv6: "false"
|
|
||||||
# parent: ${MY_NET_IF}
|
|
Loading…
Reference in New Issue