@Dryusdan c'est bien ce conteneur, cependant lorsque j'utilisais l'ancien (sans flood) je n'avais pas bindé le port 5000 et pourtant le scgi://rutorrent:5000 fonctionnait.
Voici une partie de mon docker-compose :
``
Web server
nginx:
image: wonderfall/nginx
container_name: nginx
links:
- rutorrent:rutorrent
- sickrage:sickrage
- couchpotato:couchpotato
ports:
- "80:8000"
- "443:4430"
volumes:
- /home/matt/docker/nginx/sites-enabled:/sites-enabled
- /home/matt/docker/nginx/conf:/conf.d
- /home/matt/docker/nginx/log:/var/log/nginx
- /home/matt/docker/nginx/passwd:/passwds
- /etc/letsencrypt:/certs
#rutorrent
rutorrent:
image: wonderfall/rtorrent-flood
container_name: rutorrent
environment:
- FLOOD_SECRET=xxxxx
ports:
- "49184:49184"
- "49184:49184/udp"
volumes:
- /home/matt/docker/rtorrent:/data
- /home/matt/docker/mysqlrtorrent:/flood-db
#Sickrage
sickrage:
image: xataz/sickrage
container_name: sickrage
hostname: sickrage
links:
- rutorrent:rutorrent
volumes:
- /home/matt/docker/sickrage/config:/config
- /home/matt/series:/series
- /home/matt/docker/rtorrent:/rtorrent
#Couchpotato
couchpotato:
image: xataz/couchpotato
container_name: couchpotato
hostname : couchpotato
links:
- rutorrent:rutorrent
volumes:
- /home/matt/docker/couchpotato/config:/config
- /home/matt/films:/films
- /home/matt/docker/rtorrent:/rtorrent
``
Quand je me connecte au conteneur et que je browse à ce niveau /usr/flood/config.js je trouve ça :
const CONFIG = {
baseURI: '/',
dbCleanInterval: 1000 * 60 * 60,
dbPath: '/flood-db/',
floodServerPort: 3000,
maxHistoryStates: 30,
pollInterval: 1000 * 5,
secret: 'xxxxx',
scgi: {
host: 'localhost',
port: 5000,
socket: true,
socketPath: '/tmp/rtorrent.sock'
}
};
Qui sert normalement à la connection scgi, ça marche si j'ouvre le port 5000 de mon conteneur rtorrent flood ?