coolify/templates/compose/plex.yaml

28 lines
788 B
YAML
Raw Normal View History

2024-11-26 18:47:58 +00:00
# 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:
2024-11-26 19:37:21 +00:00
image: plexinc/pms-docker:latest
2024-11-26 18:47:58 +00:00
environment:
- SERVICE_FQDN_PLEX_32400
2024-11-26 19:37:21 +00:00
- _APP_URL=$SERVICE_FQDN_PLEX
2024-11-26 18:47:58 +00:00
- PUID=1000
- PGID=1000
2024-11-26 19:37:21 +00:00
- TZ=${TZ:-America/Toronto}
2024-11-26 18:47:58 +00:00
- PLEX_CLAIM=${PLEX_CLAIM}
2024-12-02 12:37:07 +00:00
#devices:
# - "/dev/dri:/dev/dri"
2024-11-26 18:47:58 +00:00
volumes:
- plex-config:/config
- plex-tvshows:/data/tvshows
- plex-movies:/data/movies
healthcheck:
2024-11-26 19:37:21 +00:00
test: ["CMD", "curl", "-f", "http://localhost:32400/identity"]
2024-11-26 18:47:58 +00:00
interval: 2s
timeout: 10s
retries: 15