Bonjour,
j'ai récemment installé traefik et plex avec docker ainsi que d'autres conteneurs. Tous mes autres conteneurs fonctionnent correctement avec Traefik, cependant lorsque j'essaie de me rendre sur plex.MonNDD.XY, cela ne fonctionne pas et j'ai l'erreur "Bad Gateway" (que ce soit en http ou https).
Mon traefik.toml :
#https://docs.traefik.io/toml/
#https://docs.traefik.io/user-guide/examples/
################################################################
# Global configuration
################################################################
defaultEntryPoints = ["http", "https"]
[entryPoints]
[entryPoints.http]
address = ":80"
# [entryPoints.http.redirect]
# entryPoint = "https"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[retry]
################################################################
# Web configuration backend
################################################################
[web]
address = ":8080"
################################################################
# Traefik Config
################################################################
################################################################
# Docker configuration backend
################################################################
[docker]
endpoint = "unix:///var/run/docker.sock"
domain = "MonNDD.XY"
watch = true
exposedByDefault = false
[file]
watch = true
[acme]
email = "EMAIL"
storage = "acme.json"
entryPoint = "https"
onHostRule = true
acmeLogging = true
[acme.httpChallenge]
entryPoint = "http"
et mon docker-compose.yml:
version: '3.6'
services:
#
# AUTRES SERVICES
#
plex:
container_name: plex
image: linuxserver/plex:latest
network_mode: host
environment:
- TZ=Europe/Paris
- PUID=1000
- PGID=1000
labels:
- "traefik.enable=true"
- "traefik.port=32400"
- "traefik.frontend.rule=Host:plex.MonNDD.XY"
tmpfs:
- /transcode:size=5G
volumes:
- plex-config:/config
- rtorrent-filebot:/home/torrent/Media
- "/mnt/rclone:/mnt/media:shared"
#
# AUTRES SERVICES
#
traefik:
image: traefik:alpine
container_name: traefik
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- ./Traefik/traefik.toml:/traefik.toml
- ./Traefik/acme.json:/acme.json
labels:
- 'traefik.frontend.rule=Host:monitor.MonNDD.XY'
- 'traefik.port=8080'
- 'traefik.enable=true'
- 'traefik.backend=web'
volumes:
#
# AUTRES VOLUMES
#
plex-config:
Si certain(e)s ont déjà eu ce problème ou ont une un docker-compose.yml qui fonctionne, je suis preneur