diff options
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | .gitmodules | 0 | ||||
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | docker-compose.yml | 56 |
4 files changed, 54 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b5d905b --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +transmission* +*.pem + diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/.gitmodules @@ -16,3 +16,4 @@ Sadly, as of TrueNAS Scale Electric Eel, and apparently Fangtooth too, this is n [Which has annoyed a lot of people.](https://forums.truenas.com/t/allow-apps-to-have-their-own-ip/12042) This is how I have achieved it, using docker-compose. +*UPDATE*: As of TrueNAS 25, it is possible to limit which addresses docker containers bind to, but it is still not possible to configure containers' routing in the UI. We're still waiting for a `macvlan` wrapper. diff --git a/docker-compose.yml b/docker-compose.yml index fb3d445..cffefa6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,27 @@ services: + transmission_2: + restart: unless-stopped + container_name: transmission_2 + ports: + - '192.168.23.11:9091:9091' + - '192.168.23.11:51413:51413' + - '192.168.23.11:51413:51413/udp' + image: lscr.io/linuxserver/transmission:latest + volumes: + - /mnt/spinningRust/spinningRust/Videos:/media/Videos + - /mnt/spinningRust/spinningRust/InstallersTorrented:/media/InstallersTorrented + - /mnt/spinningRust/spinningRust/Music:/media/Music + - /mnt/spinningRust/ISOs:/media/ISOs + - /mnt/theNVMEVault/theVault/Books:/media/Books + - ./transmission_2:/config + mac_address: aa:a1:59:74:ff:b2 + networks: + rr-net: + ipv4_address: "192.168.23.11" + transmission: restart: unless-stopped - container_name: transmission + container_name: transmission_1 ports: - '192.168.23.8:9091:9091' - '192.168.23.8:51413:51413' @@ -13,7 +33,7 @@ services: - /mnt/spinningRust/spinningRust/Music:/media/Music - /mnt/spinningRust/ISOs:/media/ISOs - /mnt/theNVMEVault/theVault/Books:/media/Books - - /mnt/theNVMEVault/apps/transmission:/config + - ./transmission_1:/config mac_address: aa:a1:59:74:ff:b1 networks: rr-net: @@ -31,8 +51,8 @@ services: ipv4_address: "192.168.23.9" prowlarr: - restart: unless-stopped container_name: prowlarr + restart: unless-stopped ports: - '192.168.23.5:9696:9696' image: lscr.io/linuxserver/prowlarr:latest @@ -44,10 +64,12 @@ services: ipv4_address: "192.168.23.5" depends_on: - flaresolverr + dns: + - "192.168.23.1" sonarr: - restart: unless-stopped container_name: sonarr + restart: unless-stopped ports: - '192.168.23.6:8989:8989' image: lscr.io/linuxserver/sonarr:latest @@ -61,10 +83,12 @@ services: depends_on: - prowlarr - transmission + dns: + - "192.168.23.1" radarr: - restart: unless-stopped container_name: radarr + restart: unless-stopped ports: - '192.168.23.7:7878:7878' image: lscr.io/linuxserver/radarr:latest @@ -78,10 +102,12 @@ services: depends_on: - prowlarr - transmission + dns: + - "192.168.23.1" bazarr: - restart: unless-stopped container_name: bazarr + restart: unless-stopped ports: - '192.168.23.10:6767:6767' image: lscr.io/linuxserver/bazarr:latest @@ -96,6 +122,24 @@ services: - sonarr - radarr + whisparr: + container_name: whisparr + restart: unless-stopped + image: ghcr.io/hotio/whisparr + ports: + - '192.168.23.12:6969:6969' + volumes: + - ../whisparr:/config + - /mnt/spinningRust/spinningRust/Videos:/media/Videos + mac_address: f4:0e:2e:e2:84:35 + networks: + rr-net: + ipv4_address: "192.168.23.12" + depends_on: + - prowlarr + dns: + - "192.168.23.1" + networks: rr-net: name: rr-net |
