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:
@@ -2,19 +2,6 @@ services:
|
|||||||
plex:
|
plex:
|
||||||
image: lscr.io/linuxserver/plex:latest
|
image: lscr.io/linuxserver/plex:latest
|
||||||
container_name: plex
|
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
|
network_mode: host
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
@@ -31,7 +18,3 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 32400:32400
|
- 32400:32400
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
networks:
|
|
||||||
traefik-public:
|
|
||||||
external: true
|
|
||||||
Reference in New Issue
Block a user