33 lines
1.3 KiB
JSON
Executable File
33 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": "/sys/fs/cgroup", "containerPath": "/sys/fs/cgroup", "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 }
|
|
}
|
|
]
|
|
}
|