24 lines
719 B
JSON
Executable File
24 lines
719 B
JSON
Executable File
{
|
|
"services": [
|
|
{
|
|
"name": "rego-tunnel",
|
|
"image": "rego-vpn:latest",
|
|
"isMain": true,
|
|
"internalPort": 8006,
|
|
"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" },
|
|
{ "hostPath": "${APP_DATA_DIR}/data/start.sh", "containerPath": "/run/start.sh" }
|
|
]
|
|
}
|
|
]
|
|
}
|