Make sure you have an edge controller running
- run: npm install
- run: node server.js
To Debug the service logs to console log
run: node server.js debug
Node JS Version >= 14.17
The server will set up an HTTPS redirection service if the hard-coded certificate and private key files are present in the current working directory.
- ./server.key
- ./server.chain.pem
- build the image:
docker build . -t openziti/zac
- push the image:
docker push openziti/zac
-
run: (sudo may/may not be necessary)
sudo docker run -d --name zac -p 1408:1408 openziti/zac
-
optional - add TLS:
sudo docker run -d \ --name zac \ -p 1408:1408 \ -p 8443:8443 \ -v "path-to-server.key":/usr/src/app/server.key \ -v "path-to-server.chain.pem":/usr/src/app/server.chain.pem \ openziti/zac