Files
runtipi/apps/rego-tunnel/docker-compose.json
alexz a79f1e5a07
Some checks failed
Test / test (push) Has been cancelled
Add privileged: true for KVM access
2025-12-18 11:08:10 +00:00

24 lines
654 B
JSON
Executable File

{
"services": [
{
"name": "rego-tunnel",
"image": "rego-vpn:latest",
"isMain": true,
"internalPort": 8006,
"privileged": true,
"capAdd": ["NET_ADMIN"],
"devices": ["/dev/kvm", "/dev/net/tun"],
"environment": {
"RAM_SIZE": "${WINDOWS_RAM_GB}G",
"CPU_CORE": "${WINDOWS_CPU_CORES}",
"DISK_SIZE": "${WINDOWS_DISK_SIZE_GB}G",
"VERSION": "${WINDOWS_VERSION}"
},
"volumes": [
{ "hostPath": "${APP_DATA_DIR}/data/storage", "containerPath": "/storage" },
{ "hostPath": "${APP_DATA_DIR}/data/shared", "containerPath": "/shared" }
]
}
]
}