This commit is contained in:
38
apps/rego-tunnel-linux/docker-compose.json
Normal file
38
apps/rego-tunnel-linux/docker-compose.json
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"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"},
|
||||
{"key": "CPU_CORES", "value": "${LINUX_CPU_CORES}"},
|
||||
{"key": "DISK_SIZE", "value": "${LINUX_DISK_SIZE_GB}G"},
|
||||
{"key": "DHCP", "value": "Y"}
|
||||
],
|
||||
"devices": ["/dev/kvm", "/dev/net/tun"],
|
||||
"capAdd": ["NET_ADMIN"],
|
||||
"sysctls": [
|
||||
{"key": "net.ipv4.ip_forward", "value": "1"}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user