Hello, I tried to install BrowZer with Docker, but encountered an error. Here is the error log:
ubuntu@ip-10-1-2-216:~$ sudo docker run \
--name ziti-browzer-bootstrapper \
--rm -v /etc/letsencrypt:/etc/letsencrypt \
--user "${UID}:2171" \
-p ${ZITI_BROWZER_BOOTSTRAPPER_LISTEN_PORT}:${ZITI_BROWZER_BOOTSTRAPPER_LISTEN_PORT} \
-e NODE_ENV="${NODE_ENV}" \
-e ZITI_BROWZER_BOOTSTRAPPER_LOGLEVEL="${ZITI_BROWZER_BOOTSTRAPPER_LOGLEVEL}" \
-e ZITI_BROWZER_RUNTIME_LOGLEVEL="${ZITI_BROWZER_RUNTIME_LOGLEVEL}" \
-e ZITI_BROWZER_RUNTIME_HOTKEY="${ZITI_BROWZER_RUNTIME_HOTKEY}" \
-e ZITI_CONTROLLER_HOST="${ZITI_CONTROLLER_HOST}" \
-e ZITI_CONTROLLER_PORT="${ZITI_CONTROLLER_PORT}" \
-e ZITI_BROWZER_BOOTSTRAPPER_HOST="${ZITI_BROWZER_BOOTSTRAPPER_HOST}" \
-e ZITI_BROWZER_BOOTSTRAPPER_SCHEME="${ZITI_BROWZER_BOOTSTRAPPER_SCHEME}" \
-e ZITI_BROWZER_BOOTSTRAPPER_CERTIFICATE_PATH="${ZITI_BROWZER_BOOTSTRAPPER_CERTIFICATE_PATH}" \
-e ZITI_BROWZER_BOOTSTRAPPER_KEY_PATH="${ZITI_BROWZER_BOOTSTRAPPER_KEY_PATH}" \
-e ZITI_BROWZER_BOOTSTRAPPER_LISTEN_PORT="${ZITI_BROWZER_BOOTSTRAPPER_LISTEN_PORT}" \
-e ZITI_BROWZER_BOOTSTRAPPER_TARGETS="${ZITI_BROWZER_BOOTSTRAPPER_TARGETS}" \
ghcr.io/openziti/ziti-browzer-bootstrapper:latest
{"timestamp": "2024-05-30T09:07:39.448Z", "level": "info", "message": "ZITI_BROWZER_BOOTSTRAPPER_LOG_PATH is null"}
/home/node/ziti-browzer-bootstrapper/index.js:921
logger.error( e );
^
TypeError: Cannot read properties of undefined (reading 'error')
at process.<anonymous> (/home/node/ziti-browzer-bootstrapper/index.js:921:12)
at process.emit (node:events:513:28)
at process._fatalException (node:internal/process/execution:149:25)
ubuntu@ip-10-1-2-216:~$ echo $NODE_ENV
production
ubuntu@ip-10-1-2-216:~$ echo $ZITI_BROWZER_BOOTSTRAPPER_LOGLEVEL
debug
ubuntu@ip-10-1-2-216:~$ echo ${ZITI_BROWZER_RUNTIME_LOGLEVEL}
debug
ubuntu@ip-10-1-2-216:~$ echo ${ZITI_BROWZER_RUNTIME_HOTKEY}
alt+F12
ubuntu@ip-10-1-2-216:~$ echo ${ZITI_CONTROLLER_HOST}
ctrl.${wildcard_url}
ubuntu@ip-10-1-2-216:~$ echo ${ZITI_CONTROLLER_PORT}
8441
ubuntu@ip-10-1-2-216:~$ echo ${ZITI_BROWZER_BOOTSTRAPPER_HOST}
browzer.${wildcard_url}
ubuntu@ip-10-1-2-216:~$ echo ${ZITI_BROWZER_BOOTSTRAPPER_SCHEME}
https
ubuntu@ip-10-1-2-216:~$ echo ${ZITI_BROWZER_BOOTSTRAPPER_CERTIFICATE_PATH}
/etc/letsencrypt/live/rootwang.link/fullchain.pem
ubuntu@ip-10-1-2-216:~$ echo ${ZITI_BROWZER_BOOTSTRAPPER_KEY_PATH}
/etc/letsencrypt/live/rootwang.link/privkey.pem
ubuntu@ip-10-1-2-216:~$ echo ${ZITI_BROWZER_BOOTSTRAPPER_LISTEN_PORT}
8446
ubuntu@ip-10-1-2-216:~$ echo ${ZITI_BROWZER_BOOTSTRAPPER_TARGETS}
{ "targetArray": [ { "vhost": "brozac.${wildcard_url}", "service": "brozac", "path": "/", "scheme": "http", "idp_issuer_base_url": "https://${AUTH0_DOMAIN}", "idp_client_id": "${AUTH0_CLIENTID}" } ] }
I replaced key information in the environment with variables, but all parameters have values.