Rollback route

Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
This commit is contained in:
Jean-Yves 2024-07-16 20:44:08 +02:00
parent e2213585c3
commit 46d702de35
No known key found for this signature in database
GPG key ID: 644C8B9C4CABAEF7
6 changed files with 14 additions and 28 deletions

View file

@ -8,12 +8,11 @@
"image_tag": "v0-alpine",
"internal_port": "17170",
"restart": "unless-stopped",
"caddy_routes": [
"ports": [
{
"route": "",
"sub_domain": "ldap.",
"target_port": "17170",
"uri_strip_prefix": false
"ip_binding": "%APACHE_IP_BINDING%",
"port_number": "17170",
"protocol": "tcp"
}
],
"environment": [

View file

@ -8,12 +8,11 @@
"image_tag": "%AIO_CHANNEL%",
"internal_port": "10028",
"restart": "unless-stopped",
"caddy_routes": [
"ports": [
{
"route": "",
"sub_domain": "tables.",
"target_port": "10028",
"uri_strip_prefix": false
"ip_binding": "%APACHE_IP_BINDING%",
"port_number": "10028",
"protocol": "tcp"
}
],
"environment": [

View file

@ -38,16 +38,13 @@
"ip_binding": "",
"port_number": "4190",
"protocol": "tcp"
},
{
"ip_binding": "%APACHE_IP_BINDING%",
"port_number": "10003",
"protocol": "tcp"
}
],
"caddy_routes": [
{
"route": "",
"sub_domain": "mail.",
"target_port": "10003",
"uri_strip_prefix": false
}
],
"environment": [
"TZ=%TIMEZONE%",
"NC_DOMAIN=%NC_DOMAIN%",

View file

@ -181,10 +181,6 @@
"type": "string",
"pattern": "^(/[a-z-]+)*$"
},
"sub_domain": {
"type": "string",
"pattern": "^([a-z-]*\\.)*$"
},
"target_port": {
"type": "string",
"pattern": "^[0-9]{1,5}$"

View file

@ -251,7 +251,6 @@
"caddy_routes": [
{
"route": "/push",
"sub_domain": "",
"target_port": "7867",
"uri_strip_prefix": true
}
@ -335,19 +334,16 @@
"caddy_routes": [
{
"route": "/browser",
"sub_domain": "",
"target_port": "9980",
"uri_strip_prefix": false
},
{
"route": "/hosting",
"sub_domain": "",
"target_port": "9980",
"uri_strip_prefix": false
},
{
"route": "/cool",
"sub_domain": "",
"target_port": "9980",
"uri_strip_prefix": false
}
@ -404,7 +400,6 @@
"caddy_routes": [
{
"route": "/standalone-signaling",
"sub_domain": "",
"target_port": "8081",
"uri_strip_prefix": true
}

View file

@ -164,7 +164,7 @@ class ContainerDefinitionFetcher
$caddyRoutes->AddCaddyRoute(
new ContainerCaddyRoute(
$value['route'],
$value['sub_domain'],
"",
$entry['container_name'],
$value['target_port'],
$value['uri_strip_prefix']