Skip to content
This repository has been archived by the owner on Jan 16, 2020. It is now read-only.

docker-compose yml example ? #13

Open
silkyclouds opened this issue May 7, 2018 · 17 comments
Open

docker-compose yml example ? #13

silkyclouds opened this issue May 7, 2018 · 17 comments

Comments

@silkyclouds
Copy link

Hi there,

Would some nice person post a yml file in order to let me install this using docker-compose ?

that would be really nice !

Thanks !

@PixiBixi
Copy link
Contributor

PixiBixi commented May 7, 2018

You have a nice docker example here : https://github.com/xataz/docker-rtorrent-rutorrent#advanced-launch

Do you really need a docker-compose.yml example, can you adapt-it yourself.. ?

@silkyclouds
Copy link
Author

silkyclouds commented May 7, 2018 via email

@PixiBixi
Copy link
Contributor

PixiBixi commented May 7, 2018

You must use 8080 to reach your ruTorrent interface, well :

    - '127.0.0.1:8080:8080'

And

proxy_pass http://127.0.0.1:8080;

btw, yeh im french ;)

@silkyclouds
Copy link
Author

silkyclouds commented May 7, 2018 via email

@silkyclouds
Copy link
Author

silkyclouds commented May 7, 2018 via email

@silkyclouds
Copy link
Author

silkyclouds commented May 7, 2018 via email

@silkyclouds
Copy link
Author

silkyclouds commented May 7, 2018 via email

@PixiBixi
Copy link
Contributor

PixiBixi commented May 7, 2018 via email

@silkyclouds
Copy link
Author

silkyclouds commented May 7, 2018 via email

@silkyclouds
Copy link
Author

silkyclouds commented May 10, 2018 via email

@JustasStankunas
Copy link

Hello,
Not sure if this helps but here is torrent part from my yml file:

  torrent:
    image: xataz/rtorrent-rutorrent:latest-filebot                          
    restart: unless-stopped
    container_name: torrent
    volumes:
      - /mnt/md0/system/containers/mediaserver/torrent/config:/config
      - /mnt/md0/system/containers/mediaserver/torrent/data:/data
      - /mnt/md0/media-library:/data/Media
    environment:
      FILEBOT_RENAME_METHOD: duplicate
      WEBROOT: "/torrent"
      FILEBOT_RENAME_MOVIES: "{n} ({y})/{n}"                                 
      FILEBOT_RENAME_SERIES: "{n}/Season {s.pad(2)}/{n} - {s00e00} - {t$      
      UID: 1005
      GID: 10000
    ports:
      - "192.168.11.101:8080:8080"

I have other services exposing only ports and have but for some reason i have to map ip for torrent one (don't remember why now). And i am also reverse proxying everyting, just without SSL.

@silkyclouds
Copy link
Author

silkyclouds commented May 11, 2018 via email

@silkyclouds
Copy link
Author

silkyclouds commented May 13, 2018 via email

@JustasStankunas
Copy link

@silkyclouds
first of all let me say that what i have copy pasted it was little bit cropped (i did that on mobile) and FILEBOT_RENAME_SERIES was incorrect.. correctly pasted config is below.

second of that. this container will move or copy (duplicate) your media to /data/Media inside it. so what ever you will map to this directory media will be placed there (i am mounting there already existing media directory on my server - /mnt/md0/media-library:/data/Media)
to have your media duplicated or moved is decided by env variable FILEBOT_RENAME_METHOD (i have it set to copy media files for same reason as you: FILEBOT_RENAME_METHOD: duplicate)
then there is FILEBOT_RENAME_MOVIES & FILEBOT_RENAME_SERIES to define your naming standard (if you want to change this part you should follow standard filebot configuration for this part (all variables and options are listed there)

and WEBROOT i am using to make it easier to reverse proxy web UI.
and lastly i am not using watch folder, sonarr / radarr (maybe other soft can communicate directly with torrent) or if i want to add something manually, most likely i am doing that from mobile, so i have transdrone configured for this part.

 torrent:
    image: xataz/rtorrent-rutorrent:latest-filebot                          
    restart: unless-stopped
    container_name: torrent
    volumes:
      - /mnt/md0/system/containers/mediaserver/torrent/config:/config
      - /mnt/md0/system/containers/mediaserver/torrent/data:/data
      - /mnt/md0/media-library:/data/Media
    environment:
      FILEBOT_RENAME_METHOD: duplicate
      WEBROOT: "/torrent"
      FILEBOT_RENAME_MOVIES: "{n} ({y})/{n}"                                 
      FILEBOT_RENAME_SERIES: "{n}/Season {s.pad(2)}/{n} - {s00e00} - {t}"
      UID: 1005
      GID: 10000
    ports:
      - "192.168.11.101:8080:8080"

@silkyclouds
Copy link
Author

silkyclouds commented May 14, 2018 via email

@JustasStankunas
Copy link

JustasStankunas commented May 14, 2018

yes, in theory it should work and you should see them in /home/plexuser/downloads/torrents/Media/medias :)
though for me it looks little bit interesting how your ports are described, but i am struggling myself to completely understand how networking works. so if it works - it works :)

for the logs, try this command from server you are running docker on:
docker exec -it rtorrent cat /filebot/data/logs/amc.log

@silkyclouds
Copy link
Author

silkyclouds commented May 14, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants