reorg files and add some services
This commit is contained in:
+82
-22
@@ -1,4 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
|
### START DOWNLOAD
|
||||||
vpn:
|
vpn:
|
||||||
container_name: vpn
|
container_name: vpn
|
||||||
profiles:
|
profiles:
|
||||||
@@ -9,7 +11,7 @@ services:
|
|||||||
devices:
|
devices:
|
||||||
- /dev/net/tun:/dev/net/tun
|
- /dev/net/tun:/dev/net/tun
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOWNLOAD_ETC_PATH}/gluetun:/gluetun
|
- ${PATH_ETC}/gluetun:/gluetun
|
||||||
environment:
|
environment:
|
||||||
- VPN_SERVICE_PROVIDER=private internet access
|
- VPN_SERVICE_PROVIDER=private internet access
|
||||||
- SERVER_REGIONS=Netherlands
|
- SERVER_REGIONS=Netherlands
|
||||||
@@ -23,6 +25,7 @@ services:
|
|||||||
- 9696:9696 # Prowlarr
|
- 9696:9696 # Prowlarr
|
||||||
- 7878:7878 # Radarr
|
- 7878:7878 # Radarr
|
||||||
- 8989:8989 # Sonarr
|
- 8989:8989 # Sonarr
|
||||||
|
- 8686:8686 # Lidarr
|
||||||
- 3333:3333 # bitmagnet API and WebUI port
|
- 3333:3333 # bitmagnet API and WebUI port
|
||||||
- 3334:3334/tcp # bitmagnet BitTorrent ports
|
- 3334:3334/tcp # bitmagnet BitTorrent ports
|
||||||
- 3334:3334/udp # bitmagnet BitTorrent ports
|
- 3334:3334/udp # bitmagnet BitTorrent ports
|
||||||
@@ -45,8 +48,8 @@ services:
|
|||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOWNLOAD_ETC_PATH}/transmission:/config
|
- ${PATH_ETC}/transmission:/config
|
||||||
- /mnt/media2/app_data/transmission/downloads:/downloads
|
- /storage/transmission/downloads:/downloads
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
prowlarr:
|
prowlarr:
|
||||||
@@ -60,7 +63,7 @@ services:
|
|||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOWNLOAD_ETC_PATH}/prowlarr:/config
|
- ${PATH_ETC}/prowlarr:/config
|
||||||
depends_on:
|
depends_on:
|
||||||
vpn:
|
vpn:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
@@ -79,10 +82,9 @@ services:
|
|||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=${TZ}
|
- TZ=${TZ}
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOWNLOAD_ETC_PATH}/radarr:/config
|
- ${PATH_ETC}/radarr:/config
|
||||||
- /mnt/tmpMedia/app_data/jellyfin/media:/soupclown/localmedia
|
- /storage/media:/media # Access to media library
|
||||||
- /mnt/media2/app_data/jellyfin/media:/soupclown/localmedia2
|
- /storage/transmission/downloads:/downloads # Access to transmission downloads
|
||||||
- /mnt/media2/app_data/transmission/downloads:/downloads #optional
|
|
||||||
depends_on:
|
depends_on:
|
||||||
vpn:
|
vpn:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
@@ -105,10 +107,34 @@ services:
|
|||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=${TZ}
|
- TZ=${TZ}
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOWNLOAD_ETC_PATH}/sonarr:/config
|
- ${PATH_ETC}/sonarr:/config
|
||||||
- /mnt/tmpMedia/app_data/jellyfin/media:/soupclown/localmedia
|
- /storage/media:/media # Access to media library
|
||||||
- /mnt/media2/app_data/jellyfin/media:/soupclown/localmedia2
|
- /storage/transmission/downloads:/downloads # Access to transmission downloads
|
||||||
- /mnt/media2/app_data/transmission/downloads:/downloads #optional
|
depends_on:
|
||||||
|
vpn:
|
||||||
|
condition: service_started
|
||||||
|
restart: true
|
||||||
|
required: true
|
||||||
|
prowlarr:
|
||||||
|
condition: service_started
|
||||||
|
restart: true
|
||||||
|
required: true
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
lidarr:
|
||||||
|
container_name: lidarr
|
||||||
|
profiles:
|
||||||
|
- download
|
||||||
|
image: lscr.io/linuxserver/lidarr:latest
|
||||||
|
network_mode: "service:vpn"
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=${TZ}
|
||||||
|
volumes:
|
||||||
|
- ${PATH_ETC}/lidarr:/config
|
||||||
|
- /storage/media:/media # Access to media library
|
||||||
|
- /storage/transmission/downloads:/downloads # Access to transmission downloads
|
||||||
depends_on:
|
depends_on:
|
||||||
vpn:
|
vpn:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
@@ -128,10 +154,10 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
network_mode: "service:vpn"
|
network_mode: "service:vpn"
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=${DOWNLOAD_BITMAGENT_DB_PASS}
|
- POSTGRES_PASSWORD=${BITMAGENT_DB_PASS}
|
||||||
- TMDB_API_KEY=${TMDB_API_KEY}
|
- TMDB_API_KEY=${TMDB_API_KEY}
|
||||||
volumes:
|
volumes:
|
||||||
- ${SOUPCLOWN_ETC_PATH}/downloadin/bitmagnet/etc:/root/.config/bitmagnet
|
- ${PATH_ETC}/bitmagnet:/root/.config/bitmagnet
|
||||||
command:
|
command:
|
||||||
- worker
|
- worker
|
||||||
- run
|
- run
|
||||||
@@ -150,10 +176,10 @@ services:
|
|||||||
image: postgres:16-alpine
|
image: postgres:16-alpine
|
||||||
network_mode: "service:vpn"
|
network_mode: "service:vpn"
|
||||||
volumes:
|
volumes:
|
||||||
- ${SOUPCLOWN_ETC_PATH}/downloadin/bitmagnet/postgresdata:/var/lib/postgresql/data
|
- ${PATH_ETC}/bitmagnet-postgres:/var/lib/postgresql/data
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- POSTGRES_PASSWORD=${DOWNLOAD_BITMAGENT_DB_PASS}
|
- POSTGRES_PASSWORD=${BITMAGENT_DB_PASS}
|
||||||
- POSTGRES_DB=bitmagnet
|
- POSTGRES_DB=bitmagnet
|
||||||
- PGUSER=postgres
|
- PGUSER=postgres
|
||||||
shm_size: 1g
|
shm_size: 1g
|
||||||
@@ -177,7 +203,7 @@ services:
|
|||||||
- TZ=${TZ}
|
- TZ=${TZ}
|
||||||
- LOG_LEVEL=debug
|
- LOG_LEVEL=debug
|
||||||
volumes:
|
volumes:
|
||||||
- ${SOUPCLOWN_ETC_PATH}/seer:/app/config
|
- ${PATH_ETC}/seer:/app/config
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1
|
test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1
|
||||||
start_period: 20s
|
start_period: 20s
|
||||||
@@ -185,6 +211,38 @@ services:
|
|||||||
interval: 15s
|
interval: 15s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
||||||
|
lidatube:
|
||||||
|
container_name: lidatube
|
||||||
|
profiles:
|
||||||
|
- download
|
||||||
|
image: thewicklowwolf/lidatube:latest
|
||||||
|
volumes:
|
||||||
|
- ${PATH_ETC}/lidatube:/lidatube/config
|
||||||
|
- /storage/lidatube:/lidatube/downloads
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
environment:
|
||||||
|
- attempt_lidarr_import=True
|
||||||
|
ports:
|
||||||
|
- 5000:5000
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
aurral:
|
||||||
|
container_name: aurral
|
||||||
|
profiles:
|
||||||
|
- download
|
||||||
|
image: ghcr.io/lklynet/aurral:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- 3001:3001
|
||||||
|
environment:
|
||||||
|
- DOWNLOAD_FOLDER=${DL_FOLDER:-./data/downloads}
|
||||||
|
volumes:
|
||||||
|
- ${PATH_ETC}/aurral:/app/backend/data
|
||||||
|
- /storage/aurral:/app/downloads
|
||||||
|
|
||||||
|
### END DOWNLOAD
|
||||||
|
|
||||||
|
### START APP
|
||||||
navidrome:
|
navidrome:
|
||||||
profiles:
|
profiles:
|
||||||
- app
|
- app
|
||||||
@@ -194,8 +252,8 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "4533:4533"
|
- "4533:4533"
|
||||||
volumes:
|
volumes:
|
||||||
- ${SOUPCLOWN_ETC_PATH}/navidrome:/data
|
- ${PATH_ETC}/navidrome:/data
|
||||||
- /mnt/mega/app_data/beets/beetsMusic/:/music1
|
- /storage/media/Music:/music
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
metube:
|
metube:
|
||||||
@@ -207,7 +265,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "8081:8081"
|
- "8081:8081"
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/media2/app_data/metube/downloads:/downloads
|
- ./bin/metube-options.json:/config/metube-options.json # Use config from repo :)
|
||||||
- ./bin/metube-options.json:/config/metube-options.json
|
- /storage/metube/downloads:/downloads
|
||||||
environment:
|
environment:
|
||||||
- YTDL_OPTIONS_FILE=/config/metube-options.json
|
- YTDL_OPTIONS_FILE=/config/metube-options.json
|
||||||
|
|
||||||
|
### END APP
|
||||||
@@ -38,5 +38,6 @@
|
|||||||
git
|
git
|
||||||
tailscale
|
tailscale
|
||||||
rclone
|
rclone
|
||||||
|
mergerfs
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
+8
-2
@@ -30,20 +30,26 @@
|
|||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/tmpMedia" =
|
fileSystems."/mnt/disks/disk1" =
|
||||||
{
|
{
|
||||||
device = "/dev/disk/by-uuid/fa20e116-e04e-4f3e-bf5a-c2e2c1fad610";
|
device = "/dev/disk/by-uuid/fa20e116-e04e-4f3e-bf5a-c2e2c1fad610";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = ["noatime" "nodiratime"];
|
options = ["noatime" "nodiratime"];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/mnt/media2" =
|
fileSystems."/mnt/disks/disk2" =
|
||||||
{
|
{
|
||||||
device = "/dev/disk/by-uuid/887500d5-1d4d-4080-84e3-5ef424c9f310";
|
device = "/dev/disk/by-uuid/887500d5-1d4d-4080-84e3-5ef424c9f310";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = ["noatime" "nodiratime"];
|
options = ["noatime" "nodiratime"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/storage" = {
|
||||||
|
fsType = "fuse.mergerfs";
|
||||||
|
device = "/mnt/disks/*";
|
||||||
|
options = ["cache.files=partial" "dropcacheonclose=true" "category.create=mfs"];
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices =
|
swapDevices =
|
||||||
[ { device = "/dev/disk/by-uuid/cf4cff49-15d7-4145-86c2-8be30e71fe4c"; }
|
[ { device = "/dev/disk/by-uuid/cf4cff49-15d7-4145-86c2-8be30e71fe4c"; }
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user