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",