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 PUID=1000
PGID=1000 PGID=1000
# The directory where configuration will be stored. # The directory where configuration will be stored.
ROOT=/home/<user>/MediaCenter ROOT=/home/steve/
# The directory where data will be stored. # The directory where data will be stored.
HDDSTORAGE=/mnt/mediadrive/ HDDSTORAGE=/mnt/mediadrive/
@ -13,6 +13,3 @@ HDDSTORAGE=/mnt/mediadrive/
SERVERURL=auto SERVERURL=auto
#number of devices to generate configuration to connect to the wireguard vpn #number of devices to generate configuration to connect to the wireguard vpn
PEERS=7 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

4
.gitignore vendored
View File

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

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