-
-
Save Senya247/74d3d213db6e8fcebcd9dba3ffda5fba to your computer and use it in GitHub Desktop.
This file contains 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
# Timezone, https://en.wikipedia.org/wiki/List_of_tz_database_time_zones | |
TZ=Asia/Kolkata | |
# UNIX PUID and PGID, find with: id $USER | |
PUID=1000 | |
PGID=1000 | |
# The directory where data and configuration will be stored. | |
ROOT=<your root folder in quotes> |
This file contains 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
cd ${ROOT} | |
mkdir -p config media torrents | |
mkdir -p config/deluge config/jellyfin config/radarr config/sonarr | |
mkdir -p media/movies media/tv | |
mkdir -p torrents/complete torrents/incomplete torrents/torrent_files | |
touch docker-compose.yml .env |
This file contains 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
sudo add-apt-repository ppa:deluge-team/stable | |
sudo apt-get update | |
sudo apt-get install deluge-gtk |
This file contains 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
version: "3.2" | |
services: | |
deluge: | |
container_name: deluge | |
image: linuxserver/deluge:latest | |
restart: always | |
logging: | |
driver: json-file | |
network_mode: host | |
environment: | |
- PUID=${PUID} | |
- PGID=${PGID} | |
- TZ=${TZ} | |
volumes: | |
- ${ROOT}/config/deluge:/config | |
- ${ROOT}:/data | |
radarr: | |
container_name: radarr | |
image: linuxserver/radarr:latest | |
restart: always | |
logging: | |
driver: json-file | |
network_mode: host | |
environment: | |
- PUID=${PUID} | |
- PGID=${PGID} | |
- TZ=${TZ} | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
- ${ROOT}/config/radarr:/config | |
- ${ROOT}:/data | |
sonarr: | |
container_name: sonarr | |
image: linuxserver/sonarr:latest | |
restart: always | |
logging: | |
driver: json-file | |
network_mode: host | |
environment: | |
- PUID=${PUID} | |
- PGID=${PGID} | |
- TZ=${TZ} | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
- ${ROOT}/config/sonarr:/config | |
- ${ROOT}:/data | |
jellyfin: | |
container_name: jellyfin | |
image: linuxserver/jellyfin:latest | |
restart: always | |
network_mode: host | |
environment: | |
- PUID=${PUID} | |
- PGID=${PGID} | |
- TZ=${TZ} | |
volumes: | |
- ${ROOT}/config/jellyfin/db:/config | |
- ${ROOT}/media:/data | |
- /dev/shm/jellyfin:/transcode |
This file contains 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
/dev/disk/by-uuid/A89E4BAF9E4B753A /mnt/2\040TB\040Hard\040Disk auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=2%20TB%20Hard%20Disk 0 0 |
This file contains 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
cd ${ROOT} && docker compose down && docker compose up -d --remove-orphans |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment