30 lines
852 B
YAML
Executable File
30 lines
852 B
YAML
Executable File
services:
|
|
cistech-tunnel:
|
|
image: 'git.alexzaw.dev/alexz/openconnect-vpn:latest'
|
|
volumes:
|
|
- '${APP_DATA_DIR}/config:/config'
|
|
- '${APP_DATA_DIR}:/runtime'
|
|
- '/etc/runtipi/repos/runtipi/apps/cistech-tunnel/shared:/shared'
|
|
- '/etc/runtipi/repos/runtipi/apps/cistech-tunnel/shared/xstartup:/root/.vnc/xstartup:ro'
|
|
environment:
|
|
- 'VPN_EMAIL=${VPN_EMAIL}'
|
|
- 'VPN_PASSWORD=${VPN_PASSWORD}'
|
|
- 'VPN_TOTP_SECRET=${VPN_TOTP_SECRET}'
|
|
- 'VPN_HOST=${VPN_HOST}'
|
|
- 'VNC_PASSWORD=${VNC_PASSWORD}'
|
|
- 'TZ=${TZ}'
|
|
- 'TARGET_IP=${TARGET_IP}'
|
|
labels:
|
|
'runtipi.managed': true
|
|
privileged: true
|
|
cap_add:
|
|
- 'NET_ADMIN'
|
|
stop_grace_period: '30s'
|
|
devices:
|
|
- '/dev/net/tun'
|
|
x-runtipi:
|
|
internal_port: 6092
|
|
is_main: true
|
|
x-runtipi:
|
|
schema_version: 2
|