Skip to content

Instantly share code, notes, and snippets.

@Ganitzsh
Created January 20, 2021 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ganitzsh/b6f668d5e20401804417a1c2e6b71020 to your computer and use it in GitHub Desktop.
Save Ganitzsh/b6f668d5e20401804417a1c2e6b71020 to your computer and use it in GitHub Desktop.
plex:
image: linuxserver/plex
container_name: plex
expose:
- "32400"
labels:
- traefik.http.routers.plex.rule=Host(`sub.mydomain.com`)
- traefik.http.routers.plex.tls=true
- traefik.http.routers.plex.tls.certresolver=lets-encrypt
- traefik.http.services.plex.loadbalancer.server.port=32400
environment:
PUID: 0
PGID: 0
TZ: Europe/Luxembourg
VERSION: docker
volumes:
- /plex/library:/config
- /sonarr/tvseries:/tv
- /radarr/movies:/movies:ro
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment