Update docker-compose files
This commit is contained in:
parent
7abd107d08
commit
17d50b0325
6 changed files with 112 additions and 7 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -3,6 +3,8 @@ transmission/.env
|
|||
jellyfin/cache
|
||||
jellyfin/config
|
||||
jellyfin/logs
|
||||
jellyfin/radarr
|
||||
jellyfin/sonarr
|
||||
homeassistant/config
|
||||
nextcloud/databases
|
||||
nextcloud/nextcloud
|
||||
|
|
|
@ -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
|
||||
|
|
17
nginx/configs/nginx/conf.d/jackett.conf
Normal file
17
nginx/configs/nginx/conf.d/jackett.conf
Normal 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;
|
||||
}
|
||||
}
|
20
nginx/configs/nginx/conf.d/radarr.conf
Normal file
20
nginx/configs/nginx/conf.d/radarr.conf
Normal 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;
|
||||
}
|
||||
}
|
20
nginx/configs/nginx/conf.d/sonarr.conf
Normal file
20
nginx/configs/nginx/conf.d/sonarr.conf
Normal 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;
|
||||
}
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue