You are viewing the RapidMiner Deployment documentation for version 9.8 - Check here for latest version
Change the default port for RapidMiner AI Hub
To change the default port for RapidMiner AI Hub, modify the default deployment instructions in the following way, using port 85 and the HTTP protocol as an example.
Edit the .env file
Open the .env file and modify PUBLIC_URL and SSO_PUBLIC_URL to include the requested port and protocol.
# Public URL of the deployment that will be used for external access (Public domain + protocol + port) PUBLIC_URL=http://platform.rapidminer.com:85 # Public URL of the SSO endpoint that will be used for external access. In most cases it should be the same as the PUBLIC_URL SSO_PUBLIC_URL=http://platform.rapidminer.com:85
Edit docker-compose.yml
Open docker-compose.yml, and make the following changes:
- Change the port mapping of the rm-proxy-svc from 80:80 to 85:80. If not needed, then delete/comment out the port mapping for 443.
- Remove all the ${PUBLIC_DOMAIN} network aliases from the rm-proxy-svc.
The result should resemble the following:
rm-proxy-svc ...... ports: - 85:80 networks: rm-go-proxy-net: aliases: - rm-proxy-svc rm-platform-int-net: aliases: - rm-proxy-svc jupyterhub-user-net:
First startup?
If this will be the first startup, please specify the public port as proxy port in the service rm-server-svc. If HTTPS is being used, then there is another variable to define the external port.
rm-server-svc: ...... - GRAFANA_URL_SUFFIX=${GRAFANA_URL_SUFFIX} - PROXY_HTTP_PORT=85 # - PROXY_HTTPS_PORT=443 - TZ=${TZ} ......
If the platform was started previously, then this proxy port setting will not be updated automatically. On the RapidMiner home volume, find and edit the file standalone.xml, searching for the "Valve" definition lines and changing the values.
Run docker-compose
As usual, run docker-compose with the following steps:
docker-compose up -d rm-init-svc
and after a few minutes, when this first command has completed:
docker-compose up -d