coolify/templates/compose/plex.yaml

29 lines
828 B
YAML
Raw Normal View History

# documentation: https://docs.linuxserver.io/images/docker-plex/
# slogan: Plex organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices.
# category: media
2024-11-26 18:47:58 +00:00
# tags: media, server, movies, tv, music
# logo: svgs/plex.svg
# port: 32400
services:
plex:
image: lscr.io/linuxserver/plex:latest
2024-11-26 18:47:58 +00:00
environment:
- SERVICE_URL_PLEX_32400
- _APP_URL=$SERVICE_URL_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-tv:/tv
- plex-movies:/movies
2024-11-26 18:47:58 +00:00
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