Compare commits

..

No commits in common. "f3d9b40d6641bfd7cb1c04e8ceed795444fe1107" and "1260919722c6522bddb1385f4701a67d02a7edd7" have entirely different histories.

4 changed files with 19 additions and 90 deletions

View File

@ -4,7 +4,7 @@ TZ=America/Denver
PUID=1000
PGID=1000
# The directory where configuration will be stored.
ROOT=/home/<user>/MediaCenter
ROOT=/home/steve/
# The directory where data will be stored.
HDDSTORAGE=/mnt/mediadrive/
@ -12,7 +12,4 @@ HDDSTORAGE=/mnt/mediadrive/
#Your public ip, auto for auto detect
SERVERURL=auto
#number of devices to generate configuration to connect to the wireguard vpn
PEERS=7
#seedboxapi Settings
mam_id= #set this up at https://www.myanonamouse.net/preferences/index.php?view=security it should be a long string
PEERS=7

6
.gitignore vendored
View File

@ -1,7 +1,3 @@
.env
.vagrant
*.log
#config and volumes, just in case
config/
MediaCenterBox/
*.log

View File

@ -1,2 +0,0 @@
0000000000000000 # your 16 character account number from mullvad
m

View File

@ -1,4 +1,4 @@
---
version: '3.4'
services:
vpn:
container_name: vpn
@ -6,18 +6,18 @@ services:
environment:
- 'OTHER_ARGS= --mute-replay-warnings'
cap_add:
- NET_ADMIN
- net_admin
- SYS_MODULE
restart: unless-stopped
volumes:
- '${ROOT}/config/vpn:/vpn'
- '${ROOT}/MediaCenter/config/vpn:/vpn'
- /lib/modules:/lib/modules
security_opt:
- 'label:disable'
devices:
- '/dev/net/tun:/dev/net/tun'
ports:
- '8112:8112' # Deluge Web UI Port
- '8112:8112' #deluge web UI Port
command: '-f "" -r 192.168.68.0/24'
deluge:
@ -29,7 +29,7 @@ services:
- 'PGID=${PGID}'
- 'TZ=${TZ}'
volumes:
- '${ROOT}/config/deluge:/config'
- '${ROOT}/MediaCenter/config/deluge:/config'
- '${HDDSTORAGE}:/MediaCenterBox'
network_mode: 'service:vpn'
depends_on:
@ -43,15 +43,10 @@ services:
- PGID=1000
- 'TZ=${TZ}'
volumes:
- '${ROOT}/config/prowlarr:/config'
- '${ROOT}/MediaCenter/config/prowlarr:/config'
restart: unless-stopped
ports:
- '9696:9696'
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9696"]
interval: 30s
timeout: 10s
retries: 3
sonarr:
container_name: sonarr
@ -63,11 +58,8 @@ services:
- 'PGID=${PGID}'
- 'TZ=${TZ}'
volumes:
- '${ROOT}/config/sonarr:/config'
- '${ROOT}/MediaCenter/config/sonarr:/config'
- '${HDDSTORAGE}:/MediaCenterBox'
depends_on:
- prowlarr
- jackett
radarr:
container_name: radarr
@ -79,11 +71,8 @@ services:
- 'PGID=${PGID}'
- 'TZ=${TZ}'
volumes:
- '${ROOT}/config/radarr:/config'
- '${ROOT}/MediaCenter/config/radarr:/config'
- '${HDDSTORAGE}:/MediaCenterBox'
depends_on:
- prowlarr
- jackett
bazarr:
container_name: bazarr
@ -95,13 +84,10 @@ services:
- 'TZ=${TZ}'
- UMASK_SET=022
volumes:
- '${ROOT}/config/bazarr:/config'
- '${ROOT}/MediaCenter/config/bazarr:/config'
- '${HDDSTORAGE}:/MediaCenterBox'
ports:
- '6767:6767'
depends_on:
- sonarr
- radarr
plex-server:
container_name: plex-server
@ -111,8 +97,8 @@ services:
- 'TZ=${TZ}'
network_mode: host
volumes:
- '${ROOT}/config/plex/db:/config'
- '${ROOT}/config/plex/transcode:/transcode'
- '${ROOT}/MediaCenter/config/plex/db:/config'
- '${ROOT}/MediaCenter/config/plex/transcode:/transcode'
- '${HDDSTORAGE}/Completed:/MediaCenterBox'
wireguard:
@ -132,10 +118,10 @@ services:
- INTERNAL_SUBNET=172.168.69.0
- ALLOWEDIPS=0.0.0.0/0
volumes:
- '${ROOT}/config/wireguard:/config'
- ${ROOT}/MediaCenter/config/wireguard:/config
- /lib/modules:/lib/modules
ports:
- '51820:51820/udp'
- 51820:51820/udp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
restart: always
@ -149,7 +135,7 @@ services:
ports:
- '5055:5055'
volumes:
- '${ROOT}/config/overseerr/config:/app/config'
- '${ROOT}/MediaCenter/config/overseerr/config:/app/config'
restart: unless-stopped
tautulli:
@ -161,7 +147,7 @@ services:
- 'PGID=${PGID}'
- 'TZ=${TZ}'
volumes:
- '${ROOT}/config/tautulli:/config'
- '${ROOT}/MediaCenter/config/tautulli:/config'
- '/portainer/Logs:/logs'
ports:
- '8181:8181'
@ -175,56 +161,8 @@ services:
- 'PGID=${PGID}'
- 'TZ=${TZ}'
volumes:
- '${ROOT}/config/lidarr:/config'
- '${ROOT}/MediaCenter/config/lidarr:/config'
- '${HDDSTORAGE}:/MediaCenterBox'
ports:
- '8686:8686'
network_mode: host
depends_on:
- prowlarr
- jackett
seedboxapi:
image: myanonamouse/seedboxapi
user: 1000:1000 # Run as a non-root user.
container_name: seedboxapi
network_mode: "service:vpn"
restart: unless-stopped
depends_on:
- vpn
volumes:
- '${ROOT}/config/seedboxapi:/config'
environment:
- DEBUG=1
- mam_id=${mam_id}
- interval=1
requestrr:
image: thomst08/requestrr
container_name: requestrr
ports:
- '4545:4545'
volumes:
- '${ROOT}/config/requestrr:/root/config'
restart: unless-stopped
jackett:
image: lscr.io/linuxserver/jackett:latest
container_name: jackett
environment:
- 'PUID=${PUID}'
- 'PGID=${PGID}'
- 'TZ=${TZ}'
- AUTO_UPDATE=true # optional
- RUN_OPTS= # optional
volumes:
- '${ROOT}/config/jackett:/config'
- '${HDDSTORAGE}/Downloads:/downloads'
ports:
- '9117:9117'
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9117"]
interval: 30s
timeout: 10s
retries: 3