diff --git a/apps/rego-tunnel/docker-compose.json b/apps/rego-tunnel/docker-compose.json index 3ee0d00..d6da8db 100755 --- a/apps/rego-tunnel/docker-compose.json +++ b/apps/rego-tunnel/docker-compose.json @@ -1,64 +1,22 @@ { - "schemaVersion": 2, "services": [ { "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}" - } - ], - "internalPort": 8006, - "volumes": [ - { - "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": "${APP_DATA_DIR}/data/start.sh", - "containerPath": "/run/start.sh", - "readOnly": false, - "shared": false, - "private": false - } - ], - "stopGracePeriod": "2m", - "sysctls": {}, - "devices": [ - "/dev/kvm", - "/dev/net/tun" - ], - "capAdd": [ - "NET_ADMIN" - ], "isMain": true, - "extraLabels": { - "runtipi.managed": true - } + "internalPort": 8006, + "capAdd": ["NET_ADMIN"], + "devices": ["/dev/kvm", "/dev/net/tun"], + "environment": { + "RAM_SIZE": "${WINDOWS_RAM_GB}G", + "CPU_CORE": "${WINDOWS_CPU_CORES}", + "DISK_SIZE": "${WINDOWS_DISK_SIZE_GB}G", + "VERSION": "${WINDOWS_VERSION}" + }, + "volumes": [ + { "hostPath": "${APP_DATA_DIR}/data/storage", "containerPath": "/storage" }, + { "hostPath": "${APP_DATA_DIR}/data/shared", "containerPath": "/shared" } + ] } ] }