Browse Source

gateway list modal window port update

pull/7740/head
Maksym Dudnik 4 years ago
parent
commit
c3a971226d
  1. 4
      ui-ngx/src/app/modules/home/components/gateway/gateway-command-dialog.component.ts

4
ui-ngx/src/app/modules/home/components/gateway/gateway-command-dialog.component.ts

@ -85,14 +85,14 @@ export class GatewayCommandDialogComponent extends DialogComponent<GatewayComman
this.linuxCode = "docker run -it -v ~/.tb-gateway/logs:/thingsboard_gateway/logs -v " +
"~/.tb-gateway/extensions:/thingsboard_gateway/extensions -v ~/.tb-gateway/config:/thingsboard_gateway/config --name tb-gateway -e host=" +
HOST +
" accessToken=" +
" -e port=1883 accessToken=" +
ACCESS_TOKEN +
" --restart always thingsboard/tb-gateway";
this.windowsCode = "docker run -it -v %HOMEPATH%/tb-gateway/config:/thingsboard_gateway/config -v " +
"%HOMEPATH%/tb-gateway/extensions:/thingsboard_gateway/extensions -v %HOMEPATH%/tb-gateway/logs:/thingsboard_gateway/logs " +
"--name tb-gateway -e host=" +
HOST +
" -p 1883 -e accessToken=" +
" -e port=1883 -e accessToken=" +
ACCESS_TOKEN +
" --restart always thingsboard/tb-gateway";

Loading…
Cancel
Save