mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-29 00:23:19 -05:00
commit
94812f53b2
@ -69,6 +69,7 @@ ENV IFRAME="false"
|
|||||||
ENV SESSION_KEY=""
|
ENV SESSION_KEY=""
|
||||||
ENV REVERSE_PROXY="false"
|
ENV REVERSE_PROXY="false"
|
||||||
ENV REVERSE_PROXY_TLS_PORT=""
|
ENV REVERSE_PROXY_TLS_PORT=""
|
||||||
|
ENV ARGS=""
|
||||||
|
|
||||||
RUN if ! [ -z "$INCLUDE_MONGODBTOOLS" ] && [ "$INCLUDE_MONGODBTOOLS" != "yes" ] && [ "$INCLUDE_MONGODBTOOLS" != "YES" ] \
|
RUN if ! [ -z "$INCLUDE_MONGODBTOOLS" ] && [ "$INCLUDE_MONGODBTOOLS" != "yes" ] && [ "$INCLUDE_MONGODBTOOLS" != "YES" ] \
|
||||||
&& [ "$INCLUDE_MONGODBTOOLS" != "true" ] && [ "$INCLUDE_MONGODBTOOLS" != "TRUE" ]; then \
|
&& [ "$INCLUDE_MONGODBTOOLS" != "true" ] && [ "$INCLUDE_MONGODBTOOLS" != "TRUE" ]; then \
|
||||||
|
@ -45,6 +45,8 @@ ALLOWPLUGINS=false
|
|||||||
LOCALSESSIONRECORDING=false
|
LOCALSESSIONRECORDING=false
|
||||||
# set to enable or disable minification of json, reduces traffic
|
# set to enable or disable minification of json, reduces traffic
|
||||||
MINIFY=true
|
MINIFY=true
|
||||||
|
# set this value to add extra arguments to meshcentral on startup (e.g --debug ldap)
|
||||||
|
ARGS=
|
||||||
```
|
```
|
||||||
|
|
||||||
## docker-compose.yml
|
## docker-compose.yml
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -f "meshcentral-data/${CONFIG_FILE}" ]; then
|
if [ -f "meshcentral-data/${CONFIG_FILE}" ]; then
|
||||||
node meshcentral/meshcentral --configfile "${CONFIG_FILE}"
|
node meshcentral/meshcentral --configfile "${CONFIG_FILE}" ${ARGS}
|
||||||
else
|
else
|
||||||
cp config.json.template meshcentral-data/"${CONFIG_FILE}"
|
cp config.json.template meshcentral-data/"${CONFIG_FILE}"
|
||||||
if [ -n "$USE_MONGODB" ] && [ "$USE_MONGODB" == "true" ]; then
|
if [ -n "$USE_MONGODB" ] && [ "$USE_MONGODB" == "true" ]; then
|
||||||
@ -30,5 +30,5 @@ else
|
|||||||
node meshcentral/meshcentral --configfile "${CONFIG_FILE}"
|
node meshcentral/meshcentral --configfile "${CONFIG_FILE}"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
node meshcentral/meshcentral --configfile "${CONFIG_FILE}" --cert "$HOSTNAME"
|
node meshcentral/meshcentral --configfile "${CONFIG_FILE}" --cert "$HOSTNAME" ${ARGS}
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user