Update docker-compose.yaml
removed traefik labels and network due to utilizing traefik configuration file. This is due to plex requiring network: host so that it can communicate with local network devices.
This commit is contained in:
+1
-18
@@ -2,19 +2,6 @@ services:
|
||||
plex:
|
||||
image: lscr.io/linuxserver/plex:latest
|
||||
container_name: plex
|
||||
networks:
|
||||
- traefik-public
|
||||
- immich
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.plex.rule=Host(`plex.speerfam.net`)"
|
||||
- "traefik.http.routers.plex.entrypoints=websecure"
|
||||
- "traefik.http.routers.plex.tls.certresolver=myresolver"
|
||||
|
||||
# Pulling the security rules dynamically from our file provider setup
|
||||
- "traefik.http.routers.plex.middlewares=geoblock-policy@file,crowdsec-policy@file,secure-headers@file"
|
||||
- "traefik.http.services.plex.loadbalancer.server.port=32400"
|
||||
|
||||
network_mode: host
|
||||
environment:
|
||||
- PUID=1000
|
||||
@@ -30,8 +17,4 @@ services:
|
||||
- /srv/audiobooks:/audiobooks
|
||||
ports:
|
||||
- 32400:32400
|
||||
restart: always
|
||||
|
||||
networks:
|
||||
traefik-public:
|
||||
external: true
|
||||
restart: always
|
||||
Reference in New Issue
Block a user