You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project has several run modes. The readme mentions a "node-api" mode, but doesn't explain precisely what that means or how it's different or if it's the default mode.
The Docker image's entrypoint script has these modes:
if [[ "$1"=="classic" ]];thenecho"Running Classic ZAC Application"exec node /usr/src/app/server.js classic
elif [[ "$1"=="edge-api" ]];thenecho"Running ZAC server with Edge API integration"exec node /usr/src/app/server-edge.js
elif(($#));thenecho"Running: server.js $*"exec node /usr/src/app/server.js $*elseecho"Running ZAC Server with Node API Integration"exec node /usr/src/app/server.js node-api
fi
It appears that node-api is the default, and that this is how the standalone Node.js server is run. I'm guessing that node-api means something like "Run the Node server that implements the Ziti mgmt API."
The other modes from the entrypoint are classic (runs server.js classic) and edge-api (runs server-edge.js). How are these different?
This project has several run modes. The readme mentions a "node-api" mode, but doesn't explain precisely what that means or how it's different or if it's the default mode.
Which mode is used when by the Docker container?
Which mode is best for a production server?
#55
The text was updated successfully, but these errors were encountered: