From 021402de69bff5cdb2051ac792ce60702fe20916 Mon Sep 17 00:00:00 2001 From: alexz Date: Thu, 18 Dec 2025 11:12:04 +0000 Subject: [PATCH] Restore original format, only change image to rego-vpn:latest --- apps/rego-tunnel/docker-compose.json | 31 ++++++++++++---------------- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/apps/rego-tunnel/docker-compose.json b/apps/rego-tunnel/docker-compose.json index 381e6af..ccc4782 100755 --- a/apps/rego-tunnel/docker-compose.json +++ b/apps/rego-tunnel/docker-compose.json @@ -4,24 +4,12 @@ { "name": "rego-tunnel", "image": "rego-vpn:latest", - "environment": [ - { - "key": "RAM_SIZE", - "value": "${WINDOWS_RAM_GB}G" - }, - { - "key": "CPU_CORE", - "value": "${WINDOWS_CPU_CORES}" - }, - { - "key": "DISK_SIZE", - "value": "${WINDOWS_DISK_SIZE_GB}G" - }, - { - "key": "VERSION", - "value": "${WINDOWS_VERSION}" - } - ], + "environment": { + "RAM_SIZE": "${WINDOWS_RAM_GB}G", + "CPU_CORE": "${WINDOWS_CPU_CORES}", + "DISK_SIZE": "${WINDOWS_DISK_SIZE_GB}G", + "VERSION": "${WINDOWS_VERSION}" + }, "internalPort": 8006, "volumes": [ { @@ -37,6 +25,13 @@ "readOnly": false, "shared": false, "private": false + }, + { + "hostPath": "${APP_DATA_DIR}/data/start.sh", + "containerPath": "/run/start.sh", + "readOnly": false, + "shared": false, + "private": false } ], "stopGracePeriod": "2m",