Jafner.net/homelab/fighter/config/plex/docker-compose.yml

73 lines
2.0 KiB
YAML
Raw Normal View History

2024-02-15 02:09:59 -08:00
version: '3.9'
2022-02-08 17:00:27 -08:00
services:
plex:
2024-07-16 14:25:20 -07:00
image: linuxserver/plex@sha256:268b91665c89864c9a90766e2341bd69fed960dfff15c5a9a919a7068a944fcf
container_name: plex_plex
2022-02-08 17:00:27 -08:00
restart: "no"
networks:
- web
ports:
- 32400:32400/tcp
- 32400:32400/udp
- 3005:3005/tcp
- 8324:8324/tcp
- 32469:32469/tcp
- 1900:1900/udp
- 32410:32410/udp
- 32412:32412/udp
- 32413:32413/udp
- 32414:32414/udp
2022-02-25 23:28:16 -08:00
env_file:
- path: ./plex.env
required: true
- path: ./plex_stack.env
required: true
- path: ./plex_secrets.env
required: false
2022-02-08 17:00:27 -08:00
volumes:
- "${MOVIES_DIR}:/movies"
- "${SHOWS_DIR}:/shows"
- "${MUSIC_DIR}:/music"
2022-02-08 17:00:27 -08:00
- "${DOCKER_DATA}/plex:/config"
labels:
- traefik.http.routers.plex.rule=Host(`plex.jafner.net`)
- traefik.http.routers.plex.tls.certresolver=lets-encrypt
- traefik.http.services.plex.loadbalancer.server.port=32400
2022-02-08 17:00:27 -08:00
ombi:
2024-07-16 14:25:20 -07:00
image: ghcr.io/linuxserver/ombi@sha256:a2a10ead5a2880a7cb4307c259c9ca40d03fb5fe5905881234c640eee3c22f3d
container_name: plex_ombi
2022-02-08 17:00:27 -08:00
restart: "no"
networks:
- web
2022-02-25 23:28:16 -08:00
env_file:
- path: ./plex_stack.env
required: true
2022-02-08 17:00:27 -08:00
volumes:
- "${DOCKER_DATA}/ombi:/config"
labels:
- traefik.http.routers.ombi.rule=Host(`ombi.jafner.net`)
- traefik.http.routers.ombi.tls.certresolver=lets-encrypt
- traefik.http.routers.ombi.tls.options=tls12@file
- traefik.http.routers.ombi.middlewares=securityheaders@file
2022-08-25 11:53:11 -07:00
- traefik.http.services.ombi.loadbalancer.server.port=3579
exporter-plex:
2024-07-16 14:25:20 -07:00
image: granra/plex_exporter@sha256:174d63802ed85c168652ccc9bf75aafc1a57abd0e273936934fab13dfb00cc64
container_name: plex_exporter
restart: "no"
networks:
- monitoring
command:
- "--plex-server=https://plex.jafner.net"
- "--token=***REMOVED***"
- "--auto-discover"
labels:
- traefik.enable=false
2022-02-08 17:00:27 -08:00
networks:
web:
external: true
monitoring:
external: true