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": [ "services": [
{ {
"name": "rego-tunnel", "name": "rego-tunnel",
"image": "git.alexzaw.dev/alexz/linux-vm:latest", "image": "git.alexzaw.dev/alexz/linux-vm:latest",
"isMain": true,
"internalPort": 8006,
"environment": [ "environment": [
{ {
"key": "VM_RAM", "key": "VM_RAM",
@@ -13,27 +12,82 @@
{ {
"key": "VM_CPUS", "key": "VM_CPUS",
"value": "${WINDOWS_CPU_CORES}" "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": [ "volumes": [
{ {
"hostPath": "/etc/runtipi/user-config/runtipi/rego-tunnel/storage/linux-vm.qcow2", "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", "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": { "stopGracePeriod": "2m",
"net.ipv4.ip_forward": 1 "sysctls": {},
}, "devices": [
"devices": ["/dev/kvm", "/dev/net/tun"], "/dev/kvm",
"capAdd": ["NET_ADMIN"], "/dev/net/tun"
],
"privileged": true, "privileged": true,
"stopGracePeriod": "2m" "capAdd": [
"NET_ADMIN"
],
"isMain": true,
"extraLabels": {
"runtipi.managed": true
}
} }
], ]
"schemaVersion": 2, }
"$schema": "https://schemas.runtipi.io/v2/dynamic-compose.json"
}