Files
runtipi/apps/rego-tunnel/docker-compose.json
2025-12-28 06:41:10 +00:00

40 lines
967 B
JSON
Executable File

{
"services": [
{
"name": "rego-tunnel",
"image": "linux-vm:latest",
"isMain": true,
"internalPort": 8006,
"environment": [
{
"key": "VM_RAM",
"value": "${WINDOWS_RAM_GB}G"
},
{
"key": "VM_CPUS",
"value": "${WINDOWS_CPU_CORES}"
}
],
"volumes": [
{
"hostPath": "/etc/runtipi/user-config/runtipi/rego-tunnel/storage/linux-vm.qcow2",
"containerPath": "/vm/linux-vm.qcow2"
},
{
"hostPath": "/etc/runtipi/user-config/runtipi/rego-tunnel/shared",
"containerPath": "/shared"
}
],
"sysctls": {
"net.ipv4.ip_forward": 1
},
"devices": ["/dev/kvm", "/dev/net/tun"],
"capAdd": ["NET_ADMIN"],
"privileged": true,
"stopGracePeriod": "2m"
}
],
"schemaVersion": 2,
"$schema": "https://schemas.runtipi.io/v2/dynamic-compose.json"
}