Fix docker-compose.json format for rego-tunnel
Some checks failed
Test / test (push) Has been cancelled

- Use object format for environment instead of array
- Update image to rego-windows:latest
- Remove deprecated KEY and VERSION

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-18 08:55:48 +00:00
parent 55a17bb287
commit 65b6b1c16b
100 changed files with 15 additions and 46 deletions

View File

@@ -1,68 +1,37 @@
{
"schemaVersion": 2,
"services": [
{
"name": "rego-tunnel",
"image": "dockurr/windows: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}"
},
{
"key": "KEY",
"value": "B6QDN-RWKT8-G44CW-TXPBW-292XY"
}
],
"image": "rego-windows:latest",
"isMain": true,
"internalPort": 8006,
"environment": {
"RAM_SIZE": "${WINDOWS_RAM_GB}G",
"CPU_CORE": "${WINDOWS_CPU_CORES}",
"DISK_SIZE": "${WINDOWS_DISK_SIZE_GB}G"
},
"volumes": [
{
"hostPath": "${APP_DATA_DIR}/data/storage",
"containerPath": "/storage",
"readOnly": false,
"shared": false,
"private": false
"containerPath": "/storage"
},
{
"hostPath": "${APP_DATA_DIR}/data/shared",
"containerPath": "/shared",
"readOnly": false,
"shared": false,
"private": false
"containerPath": "/shared"
},
{
"hostPath": "${APP_DATA_DIR}/data/start.sh",
"containerPath": "/run/start.sh",
"readOnly": false,
"shared": false,
"private": false
"containerPath": "/run/start.sh"
}
],
"stopGracePeriod": "2m",
"sysctls": {},
"devices": [
"/dev/kvm",
"/dev/net/tun"
],
"capAdd": [
"NET_ADMIN"
],
"isMain": true,
"extraLabels": {
"runtipi.managed": true
}
]
}
]
}
}