From 3465a489f27c3ab02af481565bdd317af2f0dc4a Mon Sep 17 00:00:00 2001 From: Alex Zaw Date: Wed, 24 Dec 2025 07:24:07 +0000 Subject: [PATCH] upload current sources --- apps/rego-tunnel-linux/docker-compose.json | 74 +++++++++++++++++----- 1 file changed, 57 insertions(+), 17 deletions(-) diff --git a/apps/rego-tunnel-linux/docker-compose.json b/apps/rego-tunnel-linux/docker-compose.json index 038aa35..e490b19 100644 --- a/apps/rego-tunnel-linux/docker-compose.json +++ b/apps/rego-tunnel-linux/docker-compose.json @@ -1,28 +1,68 @@ { + "schemaVersion": 2, "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"} + { + "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" + } ], + "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"} + { + "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 + } ], - "sysctls": {"net.ipv4.ip_forward": 1}, - "devices": ["/dev/kvm", "/dev/net/tun"], - "capAdd": ["NET_ADMIN"], - "stopGracePeriod": "2m" + "stopGracePeriod": "2m", + "sysctls": {}, + "devices": [ + "/dev/kvm", + "/dev/net/tun" + ], + "capAdd": [ + "NET_ADMIN" + ], + "isMain": true, + "extraLabels": { + "runtipi.managed": true + } } - ], - "schemaVersion": 2, - "$schema": "https://schemas.runtipi.io/v2/dynamic-compose.json" + ] }