Add Gluetun service for VPN Suisse
This commit is contained in:
+26
-1
@@ -1,10 +1,33 @@
|
||||
---
|
||||
services:
|
||||
gluetun:
|
||||
hostname: gt_rdesktop
|
||||
container_name: gt_rdesktop
|
||||
image: qmcgaw/gluetun
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
devices:
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
environment:
|
||||
- VPN_SERVICE_PROVIDER=nordvpn
|
||||
- VPN_TYPE=openvpn # or wireguard
|
||||
- OPENVPN_USER=nivoQbkH8gy2s5sWK7hP79jf
|
||||
- OPENVPN_PASSWORD=MgMaPzfrFRpv4WxMQQRuxjfF
|
||||
- SERVER_COUNTRIES=Switzerland
|
||||
- FIREWALL_OUTBOUND_SUBNETS=192.168.10.0/24,192.168.100.0/24
|
||||
- TZ=Europe/Paris
|
||||
ports:
|
||||
- 3389:3389
|
||||
restart: always
|
||||
|
||||
rdesktop:
|
||||
image: lscr.io/linuxserver/rdesktop:ubuntu-xfce
|
||||
container_name: rdesktop
|
||||
security_opt:
|
||||
- seccomp:unconfined #optional
|
||||
network_mode: service:gluetun
|
||||
depends_on:
|
||||
- gluetun
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
@@ -18,4 +41,6 @@ services:
|
||||
devices:
|
||||
- /dev/dri:/dev/dri #optional
|
||||
shm_size: "1gb" #optional
|
||||
restart: unless-stopped
|
||||
restart: unless-stopped
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user