Last active
October 10, 2022 11:00
-
-
Save bpetetot/5ed198fdf5eb7c78f6c11e989dbf9544 to your computer and use it in GitHub Desktop.
Docker Seedbox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| plex: | |
| image: linuxserver/plex | |
| container_name: plex | |
| net: host | |
| environment: | |
| - VERSION=latest | |
| - PUID=1000 | |
| - PGID=1001 | |
| - TZ=Europe/Paris | |
| volumes: | |
| - ./plex/config:/config | |
| - ./data:/data | |
| - ./plex/transcode:/transcode | |
| labels: | |
| - "traefik.backend=plex" | |
| - "traefik.frontend.rule=Host:plex.petetot.fr" | |
| - "traefik.port=32400" | |
| deluge: | |
| image: linuxserver/deluge | |
| container_name: deluge | |
| net: host | |
| environment: | |
| - PUID=1000 | |
| - PGID=1001 | |
| - TZ=Europe/Paris | |
| volumes: | |
| - ./deluge/config:/config | |
| - ./data:/downloads | |
| labels: | |
| - "traefik.backend=deluge" | |
| - "traefik.frontend.rule=Host:deluge.petetot.fr" | |
| - "traefik.port=8112" | |
| sonarr: | |
| image: linuxserver/sonarr | |
| container_name: sonarr | |
| net: host | |
| environment: | |
| - PUID=1000 | |
| - PGID=1001 | |
| - TZ=Europe/Paris | |
| volumes: | |
| - ./sonarr/config:/config | |
| - ./data/downloaded-tvshows:/downloads | |
| - ./data/tvshows:/tv | |
| labels: | |
| - "traefik.backend=sonarr" | |
| - "traefik.frontend.rule=Host:sonarr.petetot.fr" | |
| - "traefik.port=8989" | |
| radarr: | |
| image: linuxserver/radarr | |
| container_name: radarr | |
| net: host | |
| environment: | |
| - PUID=1000 | |
| - PGID=1001 | |
| - TZ=Europe/Paris | |
| volumes: | |
| - ./radarr/config:/config | |
| - ./data/downloaded-tvshows:/downloads | |
| - ./data/movies:/movies | |
| labels: | |
| - "traefik.backend=radarr" | |
| - "traefik.frontend.rule=Host:radarr.petetot.fr" | |
| - "traefik.port=7878" | |
| jackett: | |
| image: linuxserver/jackett | |
| container_name: jackett | |
| net: host | |
| environment: | |
| - PUID=1000 | |
| - PGID=1001 | |
| - TZ=Europe/Paris | |
| volumes: | |
| - ./jackett/config:/config | |
| - ./jackett/downloads:/downloads | |
| labels: | |
| - "traefik.backend=jackett" | |
| - "traefik.frontend.rule=Host:jackett.petetot.fr" | |
| - "traefik.port=9117" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Seedbox Server | |
| Requires=docker.service | |
| After=docker.service | |
| [Service] | |
| Restart=always | |
| WorkingDirectory=/home/seedbox/seedbox-docker/ | |
| ExecStart=/usr/local/bin/docker-compose -f docker-compose.yml up | |
| ExecStop=/usr/local/bin/docker-compose -f docker-compose.yml down | |
| [Install] | |
| WantedBy=default.target |
Author
any chance of getting your traefik config?
I can't manage to make traefik do its routing job properly (i think this is related to the network_mode being host but i'm not sure)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seedbox server
Features
All docker images come from : https://www.linuxserver.io/
Install
docker-compose.ymlchangingPUID&PGID, to get yours type :id $USERdocker-compose.ymlto a directory in your home folderConfigure
In
./datafolder create sub-folders :current: used by deluge to put current downloadsdownloaded-tvshows: used by deluge to move downloaded tvshows and then by sonarr to post-process themtvshows: used by sonarr and plex to store and get tvshowsmovies: used by plex to get moviesThen configure each application with there web interface. Check
docker-compose.ymlto get folder mapping (volumes) for each container.Run
run it with
docker-compose up -dcheck logs with
docker-compose logsstop with
docker-compose downCheck
Frequent problems
First Plex configuration
When you start Plex for the first time, you will need to create a SSH tunnel to access server configuration :
Open a Terminal window or your command prompt
ssh ip.address.of.server -L 8888:localhost:32400http://localhost:8888/webinto the address barCheck out plex documentation for more information
Configure Seedbox Server at startup with Systemd
docker-compose downdocker-seedbox.servicefile into/etc/systemd/system/folderWorkingDirectorywith the base folder ofdocker-compose.ymlfile