78 lines
1.7 KiB
YAML
78 lines
1.7 KiB
YAML
version: '3.4'
|
|
|
|
services:
|
|
reverse_proxy_plex:
|
|
image: nginx
|
|
volumes:
|
|
- nginx_plex:/etc/nginx/
|
|
- /rapidStorage/nginxCache:/cache
|
|
- ssl:/traefik/
|
|
networks:
|
|
- plex
|
|
- dmz
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
placement:
|
|
constraints: [node.role == manager]
|
|
resources:
|
|
limits:
|
|
cpus: '0.5'
|
|
memory: 50M
|
|
reservations:
|
|
cpus: '0.1'
|
|
memory: 10M
|
|
labels:
|
|
- "traefik.frontend.rule=Host:plex.arnaud-pc.fr"
|
|
- "traefik.port=443"
|
|
- "traefik.protocol=https"
|
|
- "traefik.docker.network=dmz"
|
|
- "traefik.passHostHeader=true"
|
|
- "traefik.backend.loadbalancer.swarm=true"
|
|
- "traefik.backend.loadbalancer.method=drr"
|
|
- "traefik.enable=true"
|
|
|
|
tautulli:
|
|
image: linuxserver/tautulli
|
|
environment:
|
|
TZ: Europe/Paris
|
|
volumes:
|
|
- tautulli_logs:/logs
|
|
- tautulli_conf:/config
|
|
networks:
|
|
- dmz
|
|
deploy:
|
|
mode: replicated
|
|
replicas: 1
|
|
resources:
|
|
limits:
|
|
cpus: '0.5'
|
|
memory: 500M
|
|
reservations:
|
|
cpus: '0.1'
|
|
memory: 200M
|
|
labels:
|
|
- "traefik.frontend.rule=Host:plex.arnaud-pc.fr;PathPrefix:/plexpy"
|
|
- "traefik.port=8181"
|
|
- "traefik.docker.network=dmz"
|
|
- "traefik.passHostHeader=true"
|
|
- "traefik.backend.loadbalancer.swarm=true"
|
|
- "traefik.backend.loadbalancer.method=drr"
|
|
- "traefik.enable=true"
|
|
|
|
networks:
|
|
dmz:
|
|
external: true
|
|
plex:
|
|
external: true
|
|
|
|
volumes:
|
|
tautulli_logs:
|
|
driver: convoy
|
|
tautulli_conf:
|
|
driver: convoy
|
|
nginx_plex:
|
|
driver: convoy
|
|
ssl:
|
|
external: true
|
|
name: traefik_traefik_conf |