First version Metube Suisse
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
vpn:
|
||||
image: ghcr.io/bubuntux/nordvpn
|
||||
hostname: nordvpnch
|
||||
container_name: nordvpnch
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- NET_RAW
|
||||
- SYS_MODULE
|
||||
ports:
|
||||
- 6881:6881
|
||||
- 6881:6881/udp
|
||||
- 9865:9865
|
||||
environment:
|
||||
- TOKEN=e9f2ab75cf15245acccf48938176063b7eda427acf5b76d45ccfa8b41da4bcb7
|
||||
- CONNECT=--group P2P Switzerland
|
||||
- TECHNOLOGY=NordLynx
|
||||
- NET_LOCAL=192.168.10.0/24,192.168.1.0/24 # So it can be accessed within the local network
|
||||
- DNS = 8.8.8.8,8.8.4.4
|
||||
- TZ=Europe/Paris
|
||||
sysctls:
|
||||
- net.ipv6.conf.all.disable_ipv6=1 # Recomended if using ipv4 only
|
||||
metube:
|
||||
container_name: MeTubeCh
|
||||
image: ghcr.io/alexta69/metube
|
||||
healthcheck:
|
||||
test: curl -f http://localhost:8081/ || exit 1
|
||||
mem_limit: 6g
|
||||
cpu_shares: 768
|
||||
network_mode: service:vpn
|
||||
depends_on:
|
||||
- vpn
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
restart: on-failure:5
|
||||
ports:
|
||||
- 5992:8081
|
||||
volumes:
|
||||
- /var/lib/docker/volumes/metube:/downloads:rw
|
||||
environment:
|
||||
UID: 1000
|
||||
GID: 1000
|
||||
Reference in New Issue
Block a user