Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save markwhat1/4d236ca24f1c0cfaa977cccb62b9d583 to your computer and use it in GitHub Desktop.
Save markwhat1/4d236ca24f1c0cfaa977cccb62b9d583 to your computer and use it in GitHub Desktop.
Plex, NZBGet, Sonarr, Radarr, OpenVPN, Transmission, Jackett - docker-compose file
# to run: docker-compose run
#
# Create a .evn file in the same folder as this file and change the variables.
# MOUNT_POINT=/tmp/
# VPN_PROVIDER=changeme
# VPN_CONFIG=changeme
# VPN_USERNAME=changeme
# VPN_PASSWORD=changeme
#
#
version: "2"
services:
transmission:
image: haugene/transmission-openvpn
container_name: transmission-openvpn
restart: always
ports:
- "9091:9091"
networks:
- plexnet
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"
volumes:
- ${MOUNT_POINT}/transmission:/data
- /etc/localtime:/etc/localtime:ro
radarr:
image: linuxserver/radarr
container_name: radarr
restart: always
ports:
- "7878:7878"
networks:
- plexnet
environment:
- PGID=1000
- PUID=1000
- TZ=Europe/London
volumes:
- ${MOUNT_POINT}/radarr-config:/config
- ${MOUNT_POINT}/transmission/completed:/downloads
- ${MOUNT_POINT}/plex/movies:/movies
sonarr:
image: linuxserver/sonarr
container_name: sonarr
restart: always
ports:
- "8989:8989"
networks:
- plexnet
environment:
- PGID=1000
- PUID=1000
- TZ=Europe/London
volumes:
- ${MOUNT_POINT}/sonarr/config:/config
- ${MOUNT_POINT}/plex/tv:/tv
- ${MOUNT_POINT}/transmission/completed:/downloads
jackett:
image: linuxserver/jackett
container_name: jackett
restart: always
networks:
- plexnet
environment:
- PGID=1000
- PUID=1000
- TZ=Europe/London
volumes:
- ${MOUNT_POINT}/jackett/config:/config
- ${MOUNT_POINT}/jackett/downloads:/downloads
ports:
- "9117:9117"
plex:
image: timhaak/plex
container_name: plex
restart: always
ports:
- "32400:32400"
- "1900:1900"
- "3005:3005"
- "5353:5353"
- "8324:8324"
- "32410:32410"
- "32412:32412"
- "32413:32413"
- "32414:32414"
- "32469:32469"
networks:
- plexnet
environment:
- PGID=1000
- PUID=1000
- TZ=Europe/London
volumes:
- ${MOUNT_POINT}/plex-config:/config
- ${MOUNT_POINT}/plex:/data
networks:
plexnet:
driver: bridge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment