app-store/apps/plex/docker-compose.yml

43 lines
1.7 KiB
YAML
Raw Normal View History

2022-07-28 17:46:12 +00:00
version: "3.7"
services:
plex:
image: lscr.io/linuxserver/plex:1.40.3
2022-07-28 17:46:12 +00:00
container_name: plex
network_mode: host
environment:
- PUID=1000
- PGID=1000
- VERSION=docker
2022-09-09 20:43:41 +00:00
- ADVERTISE_IP=${APP_PROTOCOL:-http}://${APP_DOMAIN}/
2022-07-28 17:46:12 +00:00
volumes:
- ${APP_DATA_DIR}/data/config:/config
- ${APP_DATA_DIR}/data/transcode:/transcode
2022-07-28 17:46:12 +00:00
- ${ROOT_FOLDER_HOST}/media/data:/media
restart: unless-stopped
2022-09-07 19:18:41 +00:00
labels:
feat: app configs local domains (#713) * feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
2023-06-18 16:02:29 +00:00
# Main
traefik.enable: true
traefik.http.middlewares.plex-web-redirect.redirectscheme.scheme: https
traefik.http.services.plex.loadbalancer.server.port: 32400
# Web
traefik.http.routers.plex-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.plex-insecure.entrypoints: web
traefik.http.routers.plex-insecure.service: plex
traefik.http.routers.plex-insecure.middlewares: plex-web-redirect
# Websecure
2022-09-07 19:18:41 +00:00
traefik.http.routers.plex.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.plex.entrypoints: websecure
traefik.http.routers.plex.service: plex
traefik.http.routers.plex.tls.certresolver: myresolver
feat: app configs local domains (#713) * feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
2023-06-18 16:02:29 +00:00
# Local domain
traefik.http.routers.plex-local-insecure.rule: Host(`plex.${LOCAL_DOMAIN}`)
traefik.http.routers.plex-local-insecure.entrypoints: web
traefik.http.routers.plex-local-insecure.service: plex
traefik.http.routers.plex-local-insecure.middlewares: plex-web-redirect
# Local domain secure
traefik.http.routers.plex-local.rule: Host(`plex.${LOCAL_DOMAIN}`)
traefik.http.routers.plex-local.entrypoints: websecure
traefik.http.routers.plex-local.service: plex
traefik.http.routers.plex-local.tls: true