Change the port on which the Cyberwatch instance is accessible
Configure listening ports:
With Docker Swarm, add the two environment variables to
/etc/cyberwatch/config.env
:NGINX_HTTP_PORT=8080 NGINX_HTTPS_PORT=8443
With Kubernetes, edit file
/etc/cyberwatch/containers.yml
:nginx: ## HTTP port exposed on the node. Ignored if `ingress.enabled` is set to true. httpPort: 8080 ## HTTPS port exposed on the node. Ignored if `ingress.enabled` is set to true. httpsPort: 8443
Restart Cyberwatch:
sudo cyberwatch restart