12 changed files with 63 additions and 78 deletions
@ -1,26 +0,0 @@ |
|||
#!/bin/bash |
|||
# |
|||
# Copyright © 2016-2018 The Thingsboard Authors |
|||
# |
|||
# Licensed under the Apache License, Version 2.0 (the "License"); |
|||
# you may not use this file except in compliance with the License. |
|||
# You may obtain a copy of the License at |
|||
# |
|||
# http://www.apache.org/licenses/LICENSE-2.0 |
|||
# |
|||
# Unless required by applicable law or agreed to in writing, software |
|||
# distributed under the License is distributed on an "AS IS" BASIS, |
|||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|||
# See the License for the specific language governing permissions and |
|||
# limitations under the License. |
|||
# |
|||
|
|||
dirsArray=("./haproxy/certs.d" "./haproxy/letsencrypt" "./tb-node/postgres" "./tb-node/cassandra" "./tb-node/log/tb1" "./tb-node/log/tb2") |
|||
|
|||
for dir in ${dirsArray[@]} |
|||
do |
|||
if [ ! -d "$dir" ]; then |
|||
echo creating dir $dir |
|||
mkdir -p $dir |
|||
fi |
|||
done |
|||
@ -1,8 +1,7 @@ |
|||
|
|||
HTTP_BIND_ADDRESS=0.0.0.0 |
|||
HTTP_BIND_PORT=8080 |
|||
TB_HOST=haproxy |
|||
TB_PORT=8090 |
|||
TB_ENABLE_PROXY=false |
|||
LOGGER_LEVEL=info |
|||
LOG_FOLDER=logs |
|||
LOGGER_FILENAME=tb-web-ui-%DATE%.log |
|||
|
|||
Loading…
Reference in new issue