29 lines
1017 B
JSON
29 lines
1017 B
JSON
{
|
|
"services": [
|
|
{
|
|
"name": "rego-tunnel-linux",
|
|
"image": "qemux/qemu:latest",
|
|
"isMain": true,
|
|
"internalPort": 8006,
|
|
"environment": [
|
|
{"key": "BOOT", "value": "${LINUX_DISTRO}"},
|
|
{"key": "RAM_SIZE", "value": "${LINUX_RAM_GB}G"},
|
|
{"key": "CPU_CORES", "value": "${LINUX_CPU_CORES}"},
|
|
{"key": "DISK_SIZE", "value": "${LINUX_DISK_SIZE_GB}G"},
|
|
{"key": "DHCP", "value": "Y"}
|
|
],
|
|
"volumes": [
|
|
{"hostPath": "${APP_DATA_DIR}/data/storage", "containerPath": "/storage"},
|
|
{"hostPath": "${APP_DATA_DIR}/data/shared", "containerPath": "/shared"},
|
|
{"hostPath": "/etc/runtipi/repos/runtipi/apps/rego-tunnel-linux/vpn_scripts", "containerPath": "/vpn_scripts"}
|
|
],
|
|
"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"
|
|
}
|