35 lines
849 B
YAML
35 lines
849 B
YAML
---
|
|
version: "3"
|
|
|
|
networks:
|
|
web:
|
|
external: true
|
|
internal:
|
|
external: false
|
|
|
|
services:
|
|
plex:
|
|
image: lscr.io/linuxserver/plex:version-1.24.5.5173-8dcc73a59
|
|
container_name: plex
|
|
labels:
|
|
- traefik.http.routers.plex.rule=Host(`media.dws.rip`)
|
|
- traefik.http.routers.plex.tls=true
|
|
- traefik.http.routers.plex.tls.certresolver=lets-encrypt
|
|
- traefik.http.services.plex.loadbalancer.server.port=32400
|
|
- traefik.port=32400
|
|
- traefik.protocol=https
|
|
networks:
|
|
- internal
|
|
- web
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- VERSION=docker
|
|
- PLEX_CLAIM=claim-gdJqTrZn-t7MFun-dNE6
|
|
- DOMAINNAME=media.dws.rip
|
|
- ADVERTISE_IP=https://media.dws.rip:443
|
|
volumes:
|
|
- /dws/config/plex:/config
|
|
- /dws/otherdata/:/data
|
|
restart: unless-stopped
|