Changing default port
Concept
By default, OnSphere is accessible on port 5000 over HTTPS. This setting can be changed to any port available. However, the Docker container or pod will continue to use port 5000 for internal communication.
Usage
To change the default port two operations are needed :
1: Update the front-end configuration
Update file modules/front-end/front-end-1/module.service :
The external port must be set to the desired port. The internal port must remain set to 5000.
The APPLICATION_EXTERNAL_PORT environment variable must be set to the desired port.
...
ports:
- 443:5000/tcp
environment:
- APPLICATION_EXTERNAL_PORT=443
...
2: Update the stack.cfg
"frontendPort": 8000,