This commit is contained in:
@@ -1,26 +1,10 @@
|
||||
{
|
||||
"schemaVersion": 2,
|
||||
"services": [
|
||||
{
|
||||
"name": "rego-tunnel-linux",
|
||||
"image": "qemux/qemu:latest",
|
||||
"isMain": true,
|
||||
"internalPort": 8006,
|
||||
"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",
|
||||
"readOnly": true
|
||||
}
|
||||
],
|
||||
"environment": [
|
||||
{"key": "BOOT", "value": "${LINUX_DISTRO}"},
|
||||
{"key": "RAM_SIZE", "value": "${LINUX_RAM_GB}G"},
|
||||
@@ -28,11 +12,17 @@
|
||||
{"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"],
|
||||
"sysctls": [
|
||||
{"key": "net.ipv4.ip_forward", "value": "1"}
|
||||
]
|
||||
"stopGracePeriod": "2m"
|
||||
}
|
||||
]
|
||||
],
|
||||
"schemaVersion": 2,
|
||||
"$schema": "https://schemas.runtipi.io/v2/dynamic-compose.json"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user