mirror of
https://github.com/acedanger/docker.git
synced 2025-12-06 00:00:13 -08:00
vpn and download client containers
This commit is contained in:
40
media/docker-compose.yml
Normal file
40
media/docker-compose.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
version: "3"
|
||||
services:
|
||||
gluetun:
|
||||
image: qmcgaw/gluetun
|
||||
container_name: gluetun
|
||||
# line above must be uncommented to allow external containers to connect. See https://github.com/qdm12/gluetun/wiki/Connect-a-container-to-gluetun#external-container-to-gluetun
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
devices:
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
ports:
|
||||
- 8888:8888/tcp # HTTP proxy
|
||||
- 8388:8388/tcp # Shadowsocks
|
||||
- 8388:8388/udp # Shadowsocks
|
||||
- 8080:8080/tcp # qbittorrent webUI
|
||||
volumes:
|
||||
- /vpn-gluetun:/gluetun
|
||||
environment:
|
||||
# See https://github.com/qdm12/gluetun/wiki
|
||||
- VPN_SERVICE_PROVIDER=mullvad
|
||||
- VPN_TYPE=wireguard
|
||||
# Wireguard:
|
||||
- WIREGUARD_PRIVATE_KEY=KMdZu8gd2apjwo0HpxJH9W3Jy1OEodkifcKVe+4c+kc=
|
||||
- WIREGUARD_ADDRESSES=10.66.177.30/32
|
||||
# Timezone for accurate log times
|
||||
- TZ=America/New_York
|
||||
- SERVER_CITIES=Stockholm
|
||||
qbittorrent:
|
||||
image: lscr.io/linuxserver/qbittorrent:latest
|
||||
container_name: qbittorrent
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/London
|
||||
- WEBUI_PORT=8080
|
||||
volumes:
|
||||
- /d/docker/qbittorrent/config:/config
|
||||
- /d/VirtboxShared/downloads:/downloads
|
||||
network_mode: "service:gluetun"
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user