diff --git a/meshcentral/README.md b/meshcentral/README.md index d1c0ff7..c87cef9 100644 --- a/meshcentral/README.md +++ b/meshcentral/README.md @@ -59,3 +59,5 @@ networks: ``` +After everything is set up do `docker-compose up -d` in this folder to start meshcentral! + diff --git a/meshcentral/startup.sh b/meshcentral/startup.sh index d1c2ade..155fc88 100644 --- a/meshcentral/startup.sh +++ b/meshcentral/startup.sh @@ -17,7 +17,7 @@ if [ -f "meshcentral-data/config.json" ] sed -i "s/\"cert\": \"myserver.mydomain.com\"/\"cert\": \"$HOSTNAME\"/" meshcentral-data/config.json if [ "$REVERSE_PROXY" != "false" ] then - sed -i "s/\"_certUrl\": \"my\.reverse\.proxy\"/\"certUrl\": \"https:\/\/$REVERSE_PROXY:$REVERSE_PROXY_TLS_PORT\"/" meshcentral-data/config.json + sed -i "s/\"certUrl\": \"my\.reverse\.proxy\"/\"certUrl\": \"https:\/\/$REVERSE_PROXY:$REVERSE_PROXY_TLS_PORT\"/" meshcentral-data/config.json node node_modules/meshcentral exit fi