set insecure nats mode for docker dev

This commit is contained in:
sadnub 2023-11-22 23:40:47 -05:00
parent e9c1886cdd
commit c87c312349
2 changed files with 2 additions and 1 deletions

View File

@ -98,6 +98,7 @@ MESH_TOKEN_KEY = '${MESH_TOKEN}'
REDIS_HOST = '${REDIS_HOST}' REDIS_HOST = '${REDIS_HOST}'
MESH_WS_URL = '${MESH_WS_URL}' MESH_WS_URL = '${MESH_WS_URL}'
ADMIN_ENABLED = True ADMIN_ENABLED = True
TRMM_INSECURE = True
EOF EOF
)" )"

View File

@ -27,7 +27,7 @@ else
# generate a self signed cert # generate a self signed cert
if [ ! -f "${CERT_PRIV_PATH}" ] || [ ! -f "${CERT_PUB_PATH}" ]; then if [ ! -f "${CERT_PRIV_PATH}" ] || [ ! -f "${CERT_PUB_PATH}" ]; then
rootdomain=$(echo ${API_HOST} | cut -d "." -f2-) rootdomain=$(echo ${API_HOST} | cut -d "." -f2-)
openssl req -newkey rsa:4096 -x509 -sha256 -days 365 -nodes -out ${CERT_PUB_PATH} -keyout ${CERT_PRIV_PATH} -subj "/C=US/ST=Some-State/L=city/O=Internet Widgits Pty Ltd/CN=*.${rootdomain}" openssl req -newkey rsa:4096 -x509 -sha256 -days 730 -nodes -out ${CERT_PUB_PATH} -keyout ${CERT_PRIV_PATH} -subj "/C=US/ST=Some-State/L=city/O=Internet Widgits Pty Ltd/CN=*.${rootdomain}"
fi fi
fi fi