mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-09-20 06:46:07 +08:00
Rollback route
Signed-off-by: Jean-Yves <7360784+docjyJ@users.noreply.github.com>
This commit is contained in:
parent
e2213585c3
commit
46d702de35
|
@ -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": [
|
||||
|
|
|
@ -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": [
|
||||
|
|
|
@ -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%",
|
||||
|
|
|
@ -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}$"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue