From 11aaf00d8d806ed652f4cfddf20ed176d2863b91 Mon Sep 17 00:00:00 2001 From: alexz Date: Sun, 28 Dec 2025 23:51:22 +0000 Subject: [PATCH] add hostshare --- apps/rego-tunnel/config.json | 2 +- apps/rego-tunnel/docker-compose.json | 4 ++++ apps/rego-tunnel/docker-compose.yml | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/rego-tunnel/config.json b/apps/rego-tunnel/config.json index e05a80b..b8c3dd6 100755 --- a/apps/rego-tunnel/config.json +++ b/apps/rego-tunnel/config.json @@ -118,7 +118,7 @@ "hint": "Directory on the host to share with the VM", "placeholder": "/shared/app-data", "required": false, - "env_variable": "HOST_SHARE_DIR" + "env_variable": "TSCLIENT" } ], "supported_architectures": ["amd64"] diff --git a/apps/rego-tunnel/docker-compose.json b/apps/rego-tunnel/docker-compose.json index 381d52c..6caea70 100755 --- a/apps/rego-tunnel/docker-compose.json +++ b/apps/rego-tunnel/docker-compose.json @@ -48,6 +48,10 @@ { "key": "LEASE_TIME", "value": "${LEASE_TIME:-12h}" + }, + { + "key": "TSCLIENT", + "value": "${TSCLIENT:-/hostshare}" } ], "internalPort": 8006, diff --git a/apps/rego-tunnel/docker-compose.yml b/apps/rego-tunnel/docker-compose.yml index e0b8c5c..d3f4d9d 100755 --- a/apps/rego-tunnel/docker-compose.yml +++ b/apps/rego-tunnel/docker-compose.yml @@ -24,6 +24,7 @@ services: - VM_MAC=${VM_MAC:-52:54:00:12:34:56} - DNS_SERVERS=${DNS_SERVERS:-1.1.1.1,8.8.8.8} - LEASE_TIME=${LEASE_TIME:-12h} + - TSCLIENT=${TSCLIENT:-/hostshare} volumes: - /etc/runtipi/user-config/runtipi/rego-tunnel/storage/linux-vm.qcow2:/vm/linux-vm.qcow2 - /etc/runtipi/user-config/runtipi/rego-tunnel/shared:/shared