Skip to content

Instantly share code, notes, and snippets.

@Terkea
Last active June 22, 2021 01:37
Show Gist options
  • Save Terkea/a372716d9dbc6f240d7468bc8c5c0c41 to your computer and use it in GitHub Desktop.
Save Terkea/a372716d9dbc6f240d7468bc8c5c0c41 to your computer and use it in GitHub Desktop.
docker-compose file for plex qbittorrent and tunnels for both
version: "3.7"
services:
plex_server:
image: ghcr.io/linuxserver/plex
container_name: plex
environment:
- PUID=1000
- PGID=1000
- VERSION=docker
# - PLEX_CLAIM= #optional
volumes:
- /opt/plex/config:/config
- /home/darcey/Downloads:/movies
- /home/darcey/Downloads:/series
restart: unless-stopped
ports:
- 32400:32400
# admin/adminadmin for login
qbittorrent:
image: ghcr.io/linuxserver/qbittorrent
container_name: qbittorrent
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
- WEBUI_PORT=8080
volumes:
- /opt/qbittorrent/config:/config
# CHANGE WITH YOURS
- /home/darcey/Downloads:/downloads
- /etc/docker-configs/qBittorrent:/config/qBittorrent/data/BT_backup
- /etc/docker-configs/qBittorrent/GeoDB:/config/qBittorrent/data/GeoDB
- /etc/docker-configs/qBittorrent/rss:/config/qBittorrent/data/rss
- /etc/docker-configs/qBittorrent/config:/config/qBittorrent/config
- /etc/docker-configs/qBittorrent/cache:/config/qBittorrent/cache
ports:
- 6881:6881
- 6881:6881/udp
- 8080:8080
restart: unless-stopped
localtunnel_torrent:
image: efrecon/localtunnel
container_name: tunnel_torrent
links:
- qbittorrent
command:
--local-host qbittorrent --port 8080
localtunnel_plex:
container_name: tunnel_plex
image: efrecon/localtunnel
links:
- plex_server
command:
--local-host plex_server --port 32400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment