Files
runtipi/apps/rego-tunnel/docker-compose.json
alexz 14a0fea9b6
Some checks failed
Test / test (push) Has been cancelled
fixup! Update rego-tunnel to use rego-vpn image
2025-12-18 11:52:23 +00:00

58 lines
1.3 KiB
JSON
Executable File

{
"services": [
{
"name": "rego-tunnel",
"image": "rego-vpn:latest",
"isMain": true,
"internalPort": 8006,
"addPorts": [
{
"hostPort": 8005,
"containerPort": 8005,
"tcp": true,
"udp": true
}
],
"environment": [
{
"key": "RAM_SIZE",
"value": "${WINDOWS_RAM_GB}G"
},
{
"key": "CPU_CORE",
"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/shared",
"containerPath": "/shared"
},
{
"hostPath": "${APP_DATA_DIR}/data/start.sh",
"containerPath": "/run/start.sh"
}
],
"sysctls": {
"net.ipv4.ip_forward": 1
},
"devices": ["/dev/kvm", "/dev/net/tun"],
"capAdd": ["NET_ADMIN"],
"stopGracePeriod": "2m"
}
],
"schemaVersion": 2,
"$schema": "https://schemas.runtipi.io/v2/dynamic-compose.json"
}