Files
runtipi/apps/rego-tunnel/docker-compose.json
alexz 99c276c531
Some checks failed
Test / test (push) Has been cancelled
Fix docker-compose.json environment format to array
2025-12-18 11:04:31 +00:00

65 lines
1.4 KiB
JSON
Executable File

{
"schemaVersion": 2,
"services": [
{
"name": "rego-tunnel",
"image": "rego-vpn:latest",
"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}"
}
],
"internalPort": 8006,
"volumes": [
{
"hostPath": "${APP_DATA_DIR}/data/storage",
"containerPath": "/storage",
"readOnly": false,
"shared": false,
"private": false
},
{
"hostPath": "${APP_DATA_DIR}/data/shared",
"containerPath": "/shared",
"readOnly": false,
"shared": false,
"private": false
},
{
"hostPath": "${APP_DATA_DIR}/data/start.sh",
"containerPath": "/run/start.sh",
"readOnly": false,
"shared": false,
"private": false
}
],
"stopGracePeriod": "2m",
"sysctls": {},
"devices": [
"/dev/kvm",
"/dev/net/tun"
],
"capAdd": [
"NET_ADMIN"
],
"isMain": true,
"extraLabels": {
"runtipi.managed": true
}
}
]
}