Use schema v1 format (no schemaVersion) like cistech-tunnel
Some checks failed
Test / test (push) Has been cancelled
Some checks failed
Test / test (push) Has been cancelled
This commit is contained in:
@@ -1,52 +1,23 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": 2,
|
|
||||||
"services": [
|
"services": [
|
||||||
{
|
{
|
||||||
"name": "rego-tunnel",
|
"name": "rego-tunnel",
|
||||||
"image": "rego-vpn:latest",
|
"image": "rego-vpn:latest",
|
||||||
|
"isMain": true,
|
||||||
|
"internalPort": 8006,
|
||||||
|
"capAdd": ["NET_ADMIN"],
|
||||||
|
"devices": ["/dev/kvm", "/dev/net/tun"],
|
||||||
"environment": {
|
"environment": {
|
||||||
"RAM_SIZE": "${WINDOWS_RAM_GB}G",
|
"RAM_SIZE": "${WINDOWS_RAM_GB}G",
|
||||||
"CPU_CORE": "${WINDOWS_CPU_CORES}",
|
"CPU_CORE": "${WINDOWS_CPU_CORES}",
|
||||||
"DISK_SIZE": "${WINDOWS_DISK_SIZE_GB}G",
|
"DISK_SIZE": "${WINDOWS_DISK_SIZE_GB}G",
|
||||||
"VERSION": "${WINDOWS_VERSION}"
|
"VERSION": "${WINDOWS_VERSION}"
|
||||||
},
|
},
|
||||||
"internalPort": 8006,
|
|
||||||
"volumes": [
|
"volumes": [
|
||||||
{
|
{ "hostPath": "${APP_DATA_DIR}/data/storage", "containerPath": "/storage" },
|
||||||
"hostPath": "${APP_DATA_DIR}/data/storage",
|
{ "hostPath": "${APP_DATA_DIR}/data/shared", "containerPath": "/shared" },
|
||||||
"containerPath": "/storage",
|
{ "hostPath": "${APP_DATA_DIR}/data/start.sh", "containerPath": "/run/start.sh" }
|
||||||
"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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user