coolify/templates/compose/plex.yaml
Régis Tremblay Lefrançois 63b8dacd06 working config with claim token
2024-11-26 14:37:21 -05:00

37 lines
995 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# documentation: https://github.com/plexinc/pms-docker
# slogan: Plex combines free movies & TV with the best free streaming services, so theres always more to discover.
# tags: media, server, movies, tv, music
# logo: svgs/plex.svg
# port: 32400
services:
plex:
image: plexinc/pms-docker:latest
ports:
- 32400:32400
- 1900:1900/udp
- 5353:5353/udp
- 8324:8324
- 32410:32410/udp
- 32412:32412/udp
- 32413:32413/udp
- 32414:32414/udp
- 32469:32469
environment:
- SERVICE_FQDN_PLEX_32400
- _APP_URL=$SERVICE_FQDN_PLEX
- PUID=1000
- PGID=1000
- TZ=${TZ:-America/Toronto}
- PLEX_CLAIM=${PLEX_CLAIM}
devices:
- "/dev/dri:/dev/dri"
volumes:
- plex-config:/config
- plex-tvshows:/data/tvshows
- plex-movies:/data/movies
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:32400/identity"]
interval: 2s
timeout: 10s
retries: 15