2022-02-08 17:00:27 -08:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
plex:
|
|
|
|
image: linuxserver/plex
|
2022-04-22 13:06:19 -07:00
|
|
|
container_name: plex_plex
|
2022-02-08 17:00:27 -08:00
|
|
|
restart: "no"
|
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
reservations:
|
|
|
|
devices:
|
|
|
|
- driver: nvidia
|
|
|
|
count: all
|
|
|
|
capabilities: [gpu]
|
|
|
|
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:
|
2022-11-01 00:34:24 -07:00
|
|
|
- plex_stack.env
|
|
|
|
- plex.env
|
|
|
|
- plex_secrets.env
|
2022-02-08 17:00:27 -08:00
|
|
|
volumes:
|
|
|
|
- "${MEDIA_DIR}/Video/Movies:/movies"
|
|
|
|
- "${MEDIA_DIR}/Video/Shows:/shows"
|
2022-04-13 14:29:13 -07:00
|
|
|
- "${MEDIA_DIR}/Audio/Music:/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
|
|
|
|
ombi:
|
|
|
|
image: ghcr.io/linuxserver/ombi
|
2022-04-22 13:06:19 -07:00
|
|
|
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:
|
2022-11-01 00:34:24 -07:00
|
|
|
- plex_stack.env
|
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
|
2022-11-14 14:18:44 -08:00
|
|
|
- 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
|
2023-03-04 23:43:46 -08:00
|
|
|
exporter-plex:
|
|
|
|
image: granra/plex_exporter
|
|
|
|
container_name: plex_exporter
|
|
|
|
restart: "no"
|
|
|
|
networks:
|
|
|
|
- monitoring
|
|
|
|
command:
|
|
|
|
- "--plex-server=https://plex.jafner.net"
|
2023-03-23 09:46:51 -07:00
|
|
|
- "--token=4eBmSrpfXxxgT3cRF2gC"
|
2023-03-04 23:43:46 -08:00
|
|
|
- "--auto-discover"
|
|
|
|
labels:
|
|
|
|
- traefik.enable=false
|
|
|
|
|
2022-02-08 17:00:27 -08:00
|
|
|
networks:
|
|
|
|
web:
|
|
|
|
external: true
|
2023-03-04 23:48:40 -08:00
|
|
|
monitoring:
|
|
|
|
external: true
|