@@ -139,6 +139,18 @@ class All extends Component
|
|||||||
case 'standalone-postgresql':
|
case 'standalone-postgresql':
|
||||||
$environment->standalone_postgresql_id = $this->resource->id;
|
$environment->standalone_postgresql_id = $this->resource->id;
|
||||||
break;
|
break;
|
||||||
|
case 'standalone-redis':
|
||||||
|
$environment->standalone_redis_id = $this->resource->id;
|
||||||
|
break;
|
||||||
|
case 'standalone-mongodb':
|
||||||
|
$environment->standalone_mongodb_id = $this->resource->id;
|
||||||
|
break;
|
||||||
|
case 'standalone-mysql':
|
||||||
|
$environment->standalone_mysql_id = $this->resource->id;
|
||||||
|
break;
|
||||||
|
case 'standalone-mariadb':
|
||||||
|
$environment->standalone_mariadb_id = $this->resource->id;
|
||||||
|
break;
|
||||||
case 'service':
|
case 'service':
|
||||||
$environment->service_id = $this->resource->id;
|
$environment->service_id = $this->resource->id;
|
||||||
break;
|
break;
|
||||||
|
@@ -101,12 +101,27 @@ function generate_default_proxy_configuration(Server $server)
|
|||||||
$labels = [
|
$labels = [
|
||||||
"traefik.enable=true",
|
"traefik.enable=true",
|
||||||
"traefik.http.routers.traefik.entrypoints=http",
|
"traefik.http.routers.traefik.entrypoints=http",
|
||||||
"traefik.http.routers.traefik.middlewares=traefik-basic-auth@file",
|
|
||||||
"traefik.http.routers.traefik.service=api@internal",
|
"traefik.http.routers.traefik.service=api@internal",
|
||||||
"traefik.http.services.traefik.loadbalancer.server.port=8080",
|
"traefik.http.services.traefik.loadbalancer.server.port=8080",
|
||||||
// Global Middlewares
|
// Global Middlewares
|
||||||
"traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https",
|
"traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https",
|
||||||
"traefik.http.middlewares.gzip.compress=true",
|
"traefik.http.middlewares.gzip.compress=true",
|
||||||
|
// https WWW to non-WWW
|
||||||
|
"traefik.http.middlewares.https-www-to-non-www.redirectregex.regex=^https?://www\\.(.+)",
|
||||||
|
"traefik.http.middlewares.https-www-to-non-www.redirectregex.replacement=https://\$1",
|
||||||
|
"traefik.http.middlewares.https-www-to-non-www.redirectregex.permanent=true",
|
||||||
|
// https Non-WWW to WWW
|
||||||
|
"traefik.http.middlewares.https-non-www-to-www.redirectregex.regex=^https?://(?:www\\.)?(.+)",
|
||||||
|
"traefik.http.middlewares.https-non-www-to-www.redirectregex.replacement=https://www.\$\${1}",
|
||||||
|
"traefik.http.middlewares.https-non-www-to-www.redirectregex.permanent=true",
|
||||||
|
// http www to non-WWW
|
||||||
|
"traefik.http.middlewares.http-www-to-non-www.redirectregex.regex=^http://www\\.(.+)",
|
||||||
|
"traefik.http.middlewares.http-www-to-non-www.redirectregex.replacement=http://\$1",
|
||||||
|
"traefik.http.middlewares.http-www-to-non-www.redirectregex.permanent=true",
|
||||||
|
// http Non-WWW to WWW
|
||||||
|
"traefik.http.middlewares.http-non-www-to-www.redirectregex.regex=^http://(?:www\\.)?(.+)",
|
||||||
|
"traefik.http.middlewares.http-non-www-to-www.redirectregex.replacement=http://www.\$\${1}",
|
||||||
|
"traefik.http.middlewares.http-non-www-to-www.redirectregex.permanent=true",
|
||||||
];
|
];
|
||||||
$config = [
|
$config = [
|
||||||
"version" => "3.8",
|
"version" => "3.8",
|
||||||
|
@@ -7,7 +7,7 @@ return [
|
|||||||
|
|
||||||
// The release version of your application
|
// The release version of your application
|
||||||
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
|
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
|
||||||
'release' => '4.0.0-beta.182',
|
'release' => '4.0.0-beta.183',
|
||||||
// When left empty or `null` the Laravel environment will be used
|
// When left empty or `null` the Laravel environment will be used
|
||||||
'environment' => config('app.env'),
|
'environment' => config('app.env'),
|
||||||
|
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
return '4.0.0-beta.182';
|
return '4.0.0-beta.183';
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
"version": "3.12.36"
|
"version": "3.12.36"
|
||||||
},
|
},
|
||||||
"v4": {
|
"v4": {
|
||||||
"version": "4.0.0-beta.182"
|
"version": "4.0.0-beta.183"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user