Bonjour à tous.
pour le fun, j'essaie de monter une seedbox entièrement dockerisée.
Pour cela, je commence par : rutorrent (image xataz) et traefik.
Ca marche à peu près bien, jusqu'au moment où j'essaie d'ajouter l'authentification par traefik.
Voici mon docker-compose :
rutorrent-steph:
image: xataz/rtorrent-rutorrent
ports:
- "45001:45001"
labels:
- "traefik.backend=rutorrent_steph"
- "traefik.frontend.rule=Host:toto.ltd.com;PathPrefix:/rutorrent"
- "traefik.backend.port=8080"
- "traefik.frontend.auth.basic=test:$apr1$H6uskkkW$IgXLP6ewTrSuBkTrqE8wj/"
environment:
- UID=1000
- GID=1000
- PORT_RTORRENT=45001
- WEBROOT=/rutorrent
volumes:
- /home/steph/torrents:/data
- /home/steph/config:/config
traefik:
image: traefik:latest
command: --web --docker --docker.domain=docker.localhost --logLevel=DEBUG
ports:
- "80:80"
- "8080:8080"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /dev/null:/traefik.toml
Quand je lance le docker-compose up j'ai droit à
WARNING: The apr1 variable is not set. Defaulting to a blank string.
WARNING: The H6uskkkW variable is not set. Defaulting to a blank string.
WARNING: The IgXLP6ewTrSuBkTrqE8wj variable is not set. Defaulting to a blank string.
Je suppose que c'est du au "$" dans le password encodé, mais je ne sais pas comment l'échapper pour docker-compose (j'ai essayé double quote, simple quote, backslash.... rien ne va).
Quelqu'un peut m'aider ?