Add Gluetun service for VPN Suisse
This commit is contained in:
@@ -1,10 +1,33 @@
|
|||||||
---
|
---
|
||||||
services:
|
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:
|
rdesktop:
|
||||||
image: lscr.io/linuxserver/rdesktop:ubuntu-xfce
|
image: lscr.io/linuxserver/rdesktop:ubuntu-xfce
|
||||||
container_name: rdesktop
|
container_name: rdesktop
|
||||||
security_opt:
|
security_opt:
|
||||||
- seccomp:unconfined #optional
|
- seccomp:unconfined #optional
|
||||||
|
network_mode: service:gluetun
|
||||||
|
depends_on:
|
||||||
|
- gluetun
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
@@ -19,3 +42,5 @@ services:
|
|||||||
- /dev/dri:/dev/dri #optional
|
- /dev/dri:/dev/dri #optional
|
||||||
shm_size: "1gb" #optional
|
shm_size: "1gb" #optional
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user