Merge branch 'master' of github.com:thingsboard/thingsboard
This commit is contained in:
commit
c74e2a8a55
@ -27,7 +27,7 @@
|
|||||||
"descriptor": {
|
"descriptor": {
|
||||||
"type": "latest",
|
"type": "latest",
|
||||||
"sizeX": 7.5,
|
"sizeX": 7.5,
|
||||||
"sizeY": 4.5,
|
"sizeY": 6.5,
|
||||||
"resources": [],
|
"resources": [],
|
||||||
"templateHtml": "<tb-entities-table-widget \n table-id=\"tableId\"\n ctx=\"ctx\">\n</tb-entities-table-widget>",
|
"templateHtml": "<tb-entities-table-widget \n table-id=\"tableId\"\n ctx=\"ctx\">\n</tb-entities-table-widget>",
|
||||||
"templateCss": "",
|
"templateCss": "",
|
||||||
|
|||||||
@ -134,9 +134,6 @@ services:
|
|||||||
image: "${DOCKER_REPO}/${WEB_UI_DOCKER_NAME}:${TB_VERSION}"
|
image: "${DOCKER_REPO}/${WEB_UI_DOCKER_NAME}:${TB_VERSION}"
|
||||||
ports:
|
ports:
|
||||||
- "8080"
|
- "8080"
|
||||||
environment:
|
|
||||||
TB_HOST: tb1
|
|
||||||
TB_PORT: 8080
|
|
||||||
env_file:
|
env_file:
|
||||||
- tb-web-ui.env
|
- tb-web-ui.env
|
||||||
tb-web-ui2:
|
tb-web-ui2:
|
||||||
@ -144,12 +141,9 @@ services:
|
|||||||
image: "${DOCKER_REPO}/${WEB_UI_DOCKER_NAME}:${TB_VERSION}"
|
image: "${DOCKER_REPO}/${WEB_UI_DOCKER_NAME}:${TB_VERSION}"
|
||||||
ports:
|
ports:
|
||||||
- "8080"
|
- "8080"
|
||||||
environment:
|
|
||||||
TB_HOST: tb2
|
|
||||||
TB_PORT: 8080
|
|
||||||
env_file:
|
env_file:
|
||||||
- tb-web-ui.env
|
- tb-web-ui.env
|
||||||
web:
|
haproxy:
|
||||||
restart: always
|
restart: always
|
||||||
container_name: haproxy-certbot
|
container_name: haproxy-certbot
|
||||||
image: nmarus/haproxy-certbot
|
image: nmarus/haproxy-certbot
|
||||||
@ -159,6 +153,7 @@ services:
|
|||||||
- ./haproxy/certs.d:/usr/local/etc/haproxy/certs.d
|
- ./haproxy/certs.d:/usr/local/etc/haproxy/certs.d
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
|
- "8080"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
- "1883:1883"
|
- "1883:1883"
|
||||||
- "9999:9999"
|
- "9999:9999"
|
||||||
@ -168,8 +163,11 @@ services:
|
|||||||
HTTP_PORT: 80
|
HTTP_PORT: 80
|
||||||
HTTPS_PORT: 443
|
HTTPS_PORT: 443
|
||||||
MQTT_PORT: 1883
|
MQTT_PORT: 1883
|
||||||
|
TB_API_PORT: 8080
|
||||||
FORCE_HTTPS_REDIRECT: "false"
|
FORCE_HTTPS_REDIRECT: "false"
|
||||||
links:
|
links:
|
||||||
|
- tb1
|
||||||
|
- tb2
|
||||||
- tb-web-ui1
|
- tb-web-ui1
|
||||||
- tb-web-ui2
|
- tb-web-ui2
|
||||||
- tb-mqtt-transport1
|
- tb-mqtt-transport1
|
||||||
|
|||||||
@ -69,6 +69,11 @@ frontend https_in
|
|||||||
|
|
||||||
default_backend tb-web-backend
|
default_backend tb-web-backend
|
||||||
|
|
||||||
|
frontend http-api-in
|
||||||
|
bind *:${TB_API_PORT}
|
||||||
|
|
||||||
|
default_backend tb-api-backend
|
||||||
|
|
||||||
backend letsencrypt_http
|
backend letsencrypt_http
|
||||||
server letsencrypt_http_srv 127.0.0.1:8080
|
server letsencrypt_http_srv 127.0.0.1:8080
|
||||||
|
|
||||||
@ -86,3 +91,10 @@ backend tb-http-backend
|
|||||||
option log-health-checks
|
option log-health-checks
|
||||||
server tbHttp1 tb-http-transport1:8081 check
|
server tbHttp1 tb-http-transport1:8081 check
|
||||||
server tbHttp2 tb-http-transport2:8081 check
|
server tbHttp2 tb-http-transport2:8081 check
|
||||||
|
|
||||||
|
backend tb-api-backend
|
||||||
|
balance leastconn
|
||||||
|
option tcp-check
|
||||||
|
option log-health-checks
|
||||||
|
server tbApi1 tb1:8080 check
|
||||||
|
server tbApi2 tb2:8080 check
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
HTTP_BIND_ADDRESS=0.0.0.0
|
HTTP_BIND_ADDRESS=0.0.0.0
|
||||||
HTTP_BIND_PORT=8080
|
HTTP_BIND_PORT=8080
|
||||||
TB_HOST=localhost
|
TB_HOST=haproxy
|
||||||
TB_PORT=8080
|
TB_PORT=8080
|
||||||
LOGGER_LEVEL=info
|
LOGGER_LEVEL=info
|
||||||
LOG_FOLDER=logs
|
LOG_FOLDER=logs
|
||||||
|
|||||||
@ -51,6 +51,20 @@ import react from 'ngreact';
|
|||||||
import '@flowjs/ng-flow/dist/ng-flow-standalone.min';
|
import '@flowjs/ng-flow/dist/ng-flow-standalone.min';
|
||||||
import 'ngFlowchart/dist/ngFlowchart';
|
import 'ngFlowchart/dist/ngFlowchart';
|
||||||
|
|
||||||
|
import 'typeface-roboto';
|
||||||
|
import 'font-awesome/css/font-awesome.min.css';
|
||||||
|
import 'angular-material/angular-material.min.css';
|
||||||
|
import 'angular-material-icons/angular-material-icons.css';
|
||||||
|
import 'angular-gridster/dist/angular-gridster.min.css';
|
||||||
|
import 'v-accordion/dist/v-accordion.min.css';
|
||||||
|
import 'md-color-picker/dist/mdColorPicker.min.css';
|
||||||
|
import 'mdPickers/dist/mdPickers.min.css';
|
||||||
|
import 'angular-hotkeys/build/hotkeys.min.css';
|
||||||
|
import 'angular-carousel/dist/angular-carousel.min.css';
|
||||||
|
import 'angular-material-expansion-panel/dist/md-expansion-panel.min.css';
|
||||||
|
import 'ngFlowchart/dist/flowchart.css';
|
||||||
|
import '../scss/main.scss';
|
||||||
|
|
||||||
import thingsboardTranslateHandler from './locale/translate-handler';
|
import thingsboardTranslateHandler from './locale/translate-handler';
|
||||||
import thingsboardLogin from './login';
|
import thingsboardLogin from './login';
|
||||||
import thingsboardDialogs from './components/datakey-config-dialog.controller';
|
import thingsboardDialogs from './components/datakey-config-dialog.controller';
|
||||||
@ -78,20 +92,6 @@ import thingsboardApiAuditLog from './api/audit-log.service';
|
|||||||
import thingsboardApiComponentDescriptor from './api/component-descriptor.service';
|
import thingsboardApiComponentDescriptor from './api/component-descriptor.service';
|
||||||
import thingsboardApiRuleChain from './api/rule-chain.service';
|
import thingsboardApiRuleChain from './api/rule-chain.service';
|
||||||
|
|
||||||
import 'typeface-roboto';
|
|
||||||
import 'font-awesome/css/font-awesome.min.css';
|
|
||||||
import 'angular-material/angular-material.min.css';
|
|
||||||
import 'angular-material-icons/angular-material-icons.css';
|
|
||||||
import 'angular-gridster/dist/angular-gridster.min.css';
|
|
||||||
import 'v-accordion/dist/v-accordion.min.css';
|
|
||||||
import 'md-color-picker/dist/mdColorPicker.min.css';
|
|
||||||
import 'mdPickers/dist/mdPickers.min.css';
|
|
||||||
import 'angular-hotkeys/build/hotkeys.min.css';
|
|
||||||
import 'angular-carousel/dist/angular-carousel.min.css';
|
|
||||||
import 'angular-material-expansion-panel/dist/md-expansion-panel.min.css';
|
|
||||||
import 'ngFlowchart/dist/flowchart.css';
|
|
||||||
import '../scss/main.scss';
|
|
||||||
|
|
||||||
import AppConfig from './app.config';
|
import AppConfig from './app.config';
|
||||||
import GlobalInterceptor from './global-interceptor.service';
|
import GlobalInterceptor from './global-interceptor.service';
|
||||||
import AppRun from './app.run';
|
import AppRun from './app.run';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user