From 99c276c531342c31cbf5d82af76ae646fcfbb269 Mon Sep 17 00:00:00 2001 From: alexz Date: Thu, 18 Dec 2025 11:04:31 +0000 Subject: [PATCH] Fix docker-compose.json environment format to array --- apps/rego-tunnel/docker-compose.json | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/apps/rego-tunnel/docker-compose.json b/apps/rego-tunnel/docker-compose.json index ccc4782..3ee0d00 100755 --- a/apps/rego-tunnel/docker-compose.json +++ b/apps/rego-tunnel/docker-compose.json @@ -4,12 +4,24 @@ { "name": "rego-tunnel", "image": "rego-vpn:latest", - "environment": { - "RAM_SIZE": "${WINDOWS_RAM_GB}G", - "CPU_CORE": "${WINDOWS_CPU_CORES}", - "DISK_SIZE": "${WINDOWS_DISK_SIZE_GB}G", - "VERSION": "${WINDOWS_VERSION}" - }, + "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}" + } + ], "internalPort": 8006, "volumes": [ {