forked from community/entgra-emqx-docker
Merge pull request 'Add configuration and data files to the container.' (#1) from pasindu/entgra-emqx-docker:switchgear-aws into master
Reviewed-on: community/entgra-emqx-docker#1master v4.4.11-entgra-v2
commit
982b118bde
@ -0,0 +1,21 @@
|
||||
# Folder config file
|
||||
Desktop.ini
|
||||
|
||||
# Recycle Bin used on file shares
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# Ignore everything in this directory
|
||||
target
|
||||
.classpath
|
||||
.settings
|
||||
.project
|
||||
*.iml
|
||||
*.iws
|
||||
*.ipr
|
||||
.idea
|
||||
*.ids
|
||||
.editorconfig
|
||||
.gradle
|
||||
|
||||
# Mac crap
|
||||
.DS_Store
|
@ -0,0 +1,9 @@
|
||||
{emqx_management,true}.
|
||||
{emqx_dashboard,true}.
|
||||
{emqx_modules,false}.
|
||||
{emqx_retainer,true}.
|
||||
{emqx_recon,true}.
|
||||
{emqx_telemetry,true}.
|
||||
{emqx_rule_engine,true}.
|
||||
{emqx_bridge_mqtt,false}.
|
||||
{emqx_exhook,true}.
|
@ -1,11 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "copying static content"
|
||||
STATIC_CONFIG_PATH=/opt/emqx/lib/emqx_dashboard-4.4.10/priv/www/static/
|
||||
cp /opt/emqx/static/css/* $STATIC_CONFIG_PATH/css/
|
||||
cp /opt/emqx/static/img/* $STATIC_CONFIG_PATH/img/
|
||||
# Copyright (c) 2018 - 2024, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
|
||||
#
|
||||
# Entgra (Pvt) Ltd. licenses this file to you 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.
|
||||
|
||||
cp /opt/emqx/configs/emqx_exhook.conf /opt/emqx/etc/plugins/
|
||||
CONFIG_PATH=/opt/emqx/etc/plugins/emqx_exhook.conf
|
||||
|
||||
# Set emqx_exhook.conf configs
|
||||
sed -i 's/${SERVER_HOSTNAME}/'$SERVER_HOSTNAME'/g' $CONFIG_PATH
|
||||
|
||||
echo "Starting server.."
|
||||
sh /opt/emqx/bin/emqx foreground
|
||||
|
Loading…
Reference in new issue