mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-08 04:04:42 +02:00
update plex
This commit is contained in:
parent
e8df88b31c
commit
a2bb9de8de
@ -30,7 +30,16 @@ RUN set -xe \
|
||||
|
||||
VOLUME "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"
|
||||
|
||||
EXPOSE 32400
|
||||
EXPOSE 1900/udp \
|
||||
3005/tcp \
|
||||
5353/udp \
|
||||
8324/tcp \
|
||||
32400/tcp \
|
||||
32410/udp \
|
||||
32412/udp \
|
||||
32413/udp \
|
||||
32414/udp \
|
||||
32469/tcp
|
||||
|
||||
CMD set -xe \
|
||||
&& rm -f "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}/Plex Media Server/plexmediaserver.pid" \
|
||||
|
@ -1,7 +1,5 @@
|
||||
plex:
|
||||
image: vimagick/plex
|
||||
ports:
|
||||
- "32400:32400"
|
||||
volumes:
|
||||
- "./data:/data:ro"
|
||||
- "./data/plex:/var/lib/plexmediaserver/Library/Application Support"
|
||||
@ -9,4 +7,5 @@ plex:
|
||||
- "HOME=/data"
|
||||
working_dir: /data
|
||||
# user: 1000:1000
|
||||
net: host
|
||||
restart: always
|
||||
|
Loading…
Reference in New Issue
Block a user