28 lines
1.1 KiB
JSON
28 lines
1.1 KiB
JSON
{
|
|
"schemaVersion": 2,
|
|
"services": [
|
|
{
|
|
"name": "rego-tunnel-linux",
|
|
"image": "qemux/qemu:latest",
|
|
"environment": [
|
|
{"key": "BOOT", "value": "https://releases.ubuntu.com/24.04.1/ubuntu-24.04.1-desktop-amd64.iso"},
|
|
{"key": "RAM_SIZE", "value": "${LINUX_RAM_GB}G"},
|
|
{"key": "CPU_CORES", "value": "${LINUX_CPU_CORES}"},
|
|
{"key": "DISK_SIZE", "value": "${LINUX_DISK_SIZE_GB}G"}
|
|
],
|
|
"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": "/etc/runtipi/repos/runtipi/apps/rego-tunnel-linux/vpn_scripts", "containerPath": "/vpn_scripts", "readOnly": true, "shared": false, "private": false}
|
|
],
|
|
"stopGracePeriod": "2m",
|
|
"sysctls": {},
|
|
"devices": ["/dev/kvm", "/dev/net/tun"],
|
|
"capAdd": ["NET_ADMIN"],
|
|
"isMain": true,
|
|
"extraLabels": {"runtipi.managed": true}
|
|
}
|
|
]
|
|
}
|