update json
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
2025-12-28 22:57:59 +00:00
parent 2d98ca843f
commit 203e04101b

View File

@@ -1,10 +1,9 @@
{
"schemaVersion": 2,
"services": [
{
"name": "rego-tunnel",
"image": "git.alexzaw.dev/alexz/linux-vm:latest",
"isMain": true,
"internalPort": 8006,
"environment": [
{
"key": "VM_RAM",
@@ -13,27 +12,82 @@
{
"key": "VM_CPUS",
"value": "${WINDOWS_CPU_CORES}"
},
{
"key": "BRIDGE_NAME",
"value": "${BRIDGE_NAME:-br-rego-vpn}"
},
{
"key": "TAP_NAME",
"value": "${TAP_NAME:-tap0}"
},
{
"key": "BRIDGE_CIDR",
"value": "${BRIDGE_CIDR:-100.100.0.1/24}"
},
{
"key": "VM_NET_IP",
"value": "${VM_NET_IP:-100.100.0.2}"
},
{
"key": "VM_SUBNET",
"value": "${VM_SUBNET:-100.100.0.0/24}"
},
{
"key": "TARGET_IP",
"value": "${TARGET_IP:-10.35.33.230}"
},
{
"key": "VM_MAC",
"value": "${VM_MAC:-52:54:00:12:34:56}"
},
{
"key": "DNS_SERVERS",
"value": "${DNS_SERVERS:-1.1.1.1,8.8.8.8}"
},
{
"key": "LEASE_TIME",
"value": "${LEASE_TIME:-12h}"
}
],
"internalPort": 8006,
"volumes": [
{
"hostPath": "/etc/runtipi/user-config/runtipi/rego-tunnel/storage/linux-vm.qcow2",
"containerPath": "/vm/linux-vm.qcow2"
"containerPath": "/vm/linux-vm.qcow2",
"readOnly": false,
"shared": false,
"private": false
},
{
"hostPath": "/etc/runtipi/user-config/runtipi/rego-tunnel/shared",
"containerPath": "/shared"
"containerPath": "/shared",
"readOnly": false,
"shared": false,
"private": false
},
{
"hostPath": "/etc/runtipi/app-data",
"containerPath": "/shared/app-data",
"readOnly": false,
"shared": false,
"private": false
}
],
"sysctls": {
"net.ipv4.ip_forward": 1
},
"devices": ["/dev/kvm", "/dev/net/tun"],
"capAdd": ["NET_ADMIN"],
"stopGracePeriod": "2m",
"sysctls": {},
"devices": [
"/dev/kvm",
"/dev/net/tun"
],
"privileged": true,
"stopGracePeriod": "2m"
"capAdd": [
"NET_ADMIN"
],
"isMain": true,
"extraLabels": {
"runtipi.managed": true
}
}
],
"schemaVersion": 2,
"$schema": "https://schemas.runtipi.io/v2/dynamic-compose.json"
]
}