Update docker-compose files

This commit is contained in:
fakeowl1 2025-01-01 21:03:07 +02:00
parent 7abd107d08
commit 17d50b0325
6 changed files with 112 additions and 7 deletions

2
.gitignore vendored
View file

@ -3,6 +3,8 @@ transmission/.env
jellyfin/cache
jellyfin/config
jellyfin/logs
jellyfin/radarr
jellyfin/sonarr
homeassistant/config
nextcloud/databases
nextcloud/nextcloud

View file

@ -3,7 +3,7 @@ services:
image: jellyfin/jellyfin
user: "1000:1000"
ports:
- 8096:8096
- 8096
volumes:
- ./config:/config
- ./cache:/cache
@ -13,11 +13,57 @@ services:
devices:
- /dev/dri/renderD128:/dev/dri/renderD128
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Kyiv
networks:
- net
restart: 'unless-stopped'
sonarr:
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Kyiv
volumes:
- ./sonarr/config:/config:z
- /media/hda1/jellyfin:/data:z #Access to the entire /media
networks:
- net
restart: unless-stopped
radarr:
image: lscr.io/linuxserver/radarr:latest
container_name: radarr
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Kyiv
volumes:
- ./radarr/config:/config:z
- /media/hda1/jellyfin:/data:z #Access to the entire /media
networks:
- net
restart: unless-stopped
jackett:
image: lscr.io/linuxserver/jackett:latest
container_name: jackett
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Kiyv
- AUTO_UPDATE=true #optional
- RUN_OPTS= #optional
volumes:
- ./config:/config
- ./blackhole:/downloads
networks:
- net
restart: unless-stopped
networks:
net:
external: true

View file

@ -0,0 +1,17 @@
server {
listen 80;
listen [::]:80;
server_name jackett.homeserver.local;
location / {
proxy_pass http://jackett:9117;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $http_host;
}
}

View file

@ -0,0 +1,20 @@
server {
listen 80;
listen [::]:80;
server_name radarr.homeserver.local;
location / {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_redirect off;
proxy_http_version 1.1;
proxy_pass http://radarr:7878;
}
}

View file

@ -0,0 +1,20 @@
server {
listen 80;
listen [::]:80;
server_name sonarr.homeserver.local;
location / {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_redirect off;
proxy_http_version 1.1;
proxy_pass http://sonarr:8989;
}
}

View file

@ -8,12 +8,12 @@ services:
- TZ=Etc/UTC
volumes:
- ./data:/config
- /media/hda1/Torrents:/downloads/torrents
- /media/hda1/jellyfin:/downloads/complete/jellyfin:rw
ports:
- 9091:9091
- 51413:51413
- 51413:51413/udp
- /media/hda1/Torrents:/downloads
- /media/hda1/jellyfin:/downloads/jellyfin:rw
#ports:
# - 9091:9091
# - 51413:51413
# - 51413:51413/udp
networks:
- net
restart: unless-stopped