Update rego-tunnel to use linux-vm from container registry
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
2025-12-25 07:53:58 +00:00
parent 3a674bc44d
commit 4efb8d205f
2 changed files with 16 additions and 38 deletions

View File

@@ -2,47 +2,27 @@
"services": [
{
"name": "rego-tunnel",
"image": "dockurr/windows:latest",
"image": "git.alexzaw.dev/alexz/linux-vm:latest",
"isMain": true,
"internalPort": 8006,
"addPorts": [
{
"hostPort": 8005,
"containerPort": 8005,
"tcp": true,
"udp": true
}
],
"internalPort": 6080,
"environment": [
{
"key": "RAM_SIZE",
"key": "VM_RAM",
"value": "${WINDOWS_RAM_GB}G"
},
{
"key": "CPU_CORE",
"key": "VM_CPUS",
"value": "${WINDOWS_CPU_CORES}"
},
{
"key": "DISK_SIZE",
"value": "${WINDOWS_DISK_SIZE_GB}G"
},
{
"key": "VERSION",
"value": "${WINDOWS_VERSION}"
}
],
"volumes": [
{
"hostPath": "${APP_DATA_DIR}/data/storage",
"containerPath": "/storage"
"hostPath": "${APP_DATA_DIR}/data/storage/linux-vm.qcow2",
"containerPath": "/vm/linux-vm.qcow2"
},
{
"hostPath": "${APP_DATA_DIR}/data/shared",
"containerPath": "/shared"
},
{
"hostPath": "${APP_DATA_DIR}/data/start.sh",
"containerPath": "/run/start.sh"
}
],
"sysctls": {
@@ -50,9 +30,10 @@
},
"devices": ["/dev/kvm", "/dev/net/tun"],
"capAdd": ["NET_ADMIN"],
"privileged": true,
"stopGracePeriod": "2m"
}
],
"schemaVersion": 2,
"$schema": "https://schemas.runtipi.io/v2/dynamic-compose.json"
}
}