Created
May 23, 2024 12:38
-
-
Save riverleejames/081279efafc2d52bf87020b830874ce9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
transmission-openvpn: | |
container_name: transmission | |
restart: always | |
cap_add: | |
- NET_ADMIN | |
networks: | |
plexnet: | |
ipv4_address: 172.18.0.2 | |
volumes: | |
- ${DOWNLOAD_FOLDER}:/data | |
- ${CONFIG_FILES}/transmission-vpn-config:/config | |
environment: | |
- OPENVPN_PROVIDER=${VPN_PROVIDER} | |
- OPENVPN_CONFIG=${VPN_CONFIG} | |
- OPENVPN_USERNAME=${VPN_USERNAME} | |
- OPENVPN_PASSWORD=${VPN_PASSWORD} | |
- OPENVPN_OPTS=--inactive 3600 --ping 10 --ping-exit 60 | |
- LOCAL_NETWORK=192.168.0.0/16 | |
- PUID=1000 | |
- PGID=1000 | |
logging: | |
driver: json-file | |
options: | |
max-size: 10m | |
ports: | |
- '9091:9091' | |
image: haugene/transmission-openvpn | |
env_file: | |
- .env | |
radarr: | |
image: linuxserver/radarr | |
container_name: radarr | |
restart: always | |
ports: | |
- "7878:7878" | |
networks: | |
plexnet: | |
ipv4_address: 172.18.0.3 | |
environment: | |
- PGID=1000 | |
- PUID=1000 | |
- TZ=${TZ} | |
volumes: | |
- ${CONFIG_FILES}/radarr-config:/config | |
- ${DOWNLOAD_FOLDER}/movies:/movies | |
- ${DOWNLOAD_FOLDER}/completed:/data/completed | |
env_file: | |
- .env | |
sonarr: | |
image: linuxserver/sonarr | |
container_name: sonarr | |
restart: always | |
ports: | |
- "8989:8989" | |
networks: | |
plexnet: | |
ipv4_address: 172.18.0.4 | |
environment: | |
- PGID=1000 | |
- PUID=1000 | |
- TZ=${TZ} | |
volumes: | |
- ${CONFIG_FILES}/sonarr/config:/config | |
- ${DOWNLOAD_FOLDER}/shows:/shows | |
- ${DOWNLOAD_FOLDER}/completed:/data/completed | |
env_file: | |
- .env | |
prowlarr: | |
image: lscr.io/linuxserver/prowlarr:latest | |
container_name: prowlarr | |
restart: always | |
networks: | |
plexnet: | |
ipv4_address: 172.18.0.5 | |
environment: | |
- PGID=1000 | |
- PUID=1000 | |
- TZ=${TZ} | |
volumes: | |
- ${CONFIG_FILES}/prowlarr/config:/config | |
ports: | |
- "9696:9696" | |
env_file: | |
- .env | |
plex: | |
image: lscr.io/linuxserver/plex:latest | |
container_name: plex | |
network_mode: host | |
# networks: | |
# plexnet: | |
# ipv4_address: 172.18.0.6 | |
# ports: | |
# - 32400:32400 | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=${TZ} | |
- VERSION=docker | |
- PLEX_CLAIM=${PLEX_CLAIM} # optional | |
volumes: | |
- ${CONFIG_FILES}/plex-config:/config | |
- ${DOWNLOAD_FOLDER}:/downloads | |
restart: unless-stopped | |
env_file: | |
- .env | |
watchtower: | |
container_name: watchtower | |
image: containrrr/watchtower | |
restart: unless-stopped | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- WATCHTOWER_CLEANUP=true | |
- WATCHTOWER_POLL_INTERVAL=86400 # Check for updates once a day (in seconds) | |
env_file: | |
- .env | |
networks: | |
plexnet: | |
ipv4_address: 172.18.0.7 | |
heimdall: | |
image: lscr.io/linuxserver/heimdall:latest | |
container_name: heimdall | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=${TZ} | |
volumes: | |
- ${CONFIG_FILES}/heimdall/config:/config | |
ports: | |
- 80:80 | |
- 443:443 | |
restart: unless-stopped | |
networks: | |
plexnet: | |
ipv4_address: 172.18.0.8 | |
samba: | |
image: dperson/samba | |
container_name: samba | |
restart: unless-stopped | |
network_mode: "host" | |
environment: | |
- USERID=1000 # Replace with your actual user ID | |
- GROUPID=1000 # Replace with your actual group ID | |
volumes: | |
- /home/river/docker:/mount/docker | |
- /home/river/downloads:/mount/downloads | |
- /home/river/configs:/mount/configs | |
command: > | |
-u "river;password" -s "docker;/mount/docker;yes;no;no;all;none" -s "downloads;/mount/downloads;yes;no;no;all;none" -s "configs;/mount/configs;yes;no;no;all;none" | |
tvheadend: | |
build: | |
context: . | |
dockerfile: Dockerfile.tvheadend | |
container_name: tvheadend | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=${TZ} | |
- RUN_OPTS= #optional | |
volumes: | |
- ${CONFIG_FILES}/tvheadend-config:/config | |
- ${DOWNLOAD_FOLDER}/recordings:/recordings | |
ports: | |
- "9981:9981" | |
- "9982:9982" | |
devices: | |
- "/dev/dvb:/dev/dvb" # Adjust this if necessary for your Xbox TV tuner | |
networks: | |
plexnet: | |
ipv4_address: 172.18.0.9 | |
restart: unless-stopped | |
antennas: | |
image: thejf/antennas | |
container_name: antennas | |
environment: | |
- ANTENNAS_URL=http://172.18.0.10:5004 | |
- TVHEADEND_URL=http://username:password@172.18.0.9:9981 | |
- TUNER_COUNT=1 | |
ports: | |
- "5004:5004" | |
networks: | |
plexnet: | |
ipv4_address: 172.18.0.10 | |
restart: unless-stopped | |
networks: | |
plexnet: | |
driver: bridge | |
ipam: | |
config: | |
- subnet: 172.18.0.0/24 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment