Some checks failed
Test / test (push) Has been cancelled
- build/: Dockerfile + entrypoint.sh (base image with VNC/noVNC) - shared/: Runtime scripts mounted into container - xstartup: VNC startup, launches openconnect-vpn in xterm - openconnect-vpn: Main VPN script with menu, auto-connect, watchdog - Removed source/ folder (replaced by build/) - Updated docker-compose.json with proper volume mounts - Changed port to 6080 (noVNC default) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
32 lines
1.3 KiB
JSON
Executable File
32 lines
1.3 KiB
JSON
Executable File
{
|
|
"schemaVersion": 2,
|
|
"services": [
|
|
{
|
|
"name": "cistech-tunnel",
|
|
"image": "git.alexzaw.dev/alexz/cistech-vpn:latest",
|
|
"environment": [
|
|
{ "key": "OC_URL", "value": "${OC_URL}" },
|
|
{ "key": "OC_USER", "value": "${OC_USER}" },
|
|
{ "key": "OC_PASSWORD", "value": "${OC_PASSWORD}" },
|
|
{ "key": "OC_TOTP_SECRET", "value": "${OC_TOTP_SECRET}" },
|
|
{ "key": "VNC_PASSWORD", "value": "${VNC_PASSWORD}" },
|
|
{ "key": "NOVNC_PORT", "value": "6080" },
|
|
{ "key": "TZ", "value": "${TZ}" }
|
|
],
|
|
"internalPort": 6080,
|
|
"volumes": [
|
|
{ "hostPath": "${APP_DATA_DIR}/config", "containerPath": "/config", "readOnly": false },
|
|
{ "hostPath": "${APP_DATA_DIR}", "containerPath": "/runtime", "readOnly": false },
|
|
{ "hostPath": "/etc/runtipi/repos/runtipi/apps/cistech-tunnel/shared", "containerPath": "/shared", "readOnly": false },
|
|
{ "hostPath": "/etc/runtipi/repos/runtipi/apps/cistech-tunnel/shared/xstartup", "containerPath": "/root/.vnc/xstartup", "readOnly": true }
|
|
],
|
|
"stopGracePeriod": "30s",
|
|
"devices": ["/dev/net/tun"],
|
|
"privileged": true,
|
|
"capAdd": ["NET_ADMIN"],
|
|
"isMain": true,
|
|
"extraLabels": { "runtipi.managed": true }
|
|
}
|
|
]
|
|
}
|