Change the port on which the Cyberwatch instance is accessible

  1. Configure listening ports:

    1. With Docker Swarm, add the two environment variables to /etc/cyberwatch/config.env:

      NGINX_HTTP_PORT=8080
      NGINX_HTTPS_PORT=8443
      
    2. 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
      
  2. Restart Cyberwatch:

    sudo cyberwatch restart