You are viewing the RapidMiner Hub documentation for version 10.2 - 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 the variables
PUBLIC_DOMAIN
PUBLIC_URL
SSO_PUBLIC_DOMAIN
SSO_PUBLIC_URL
to include the requested protocol and port, similar to the following:
# Public domain of the deployment
PUBLIC_DOMAIN=platform.rapidminer.com:85
# Public URL of the deployment that will be used for external access (Public domain + protocol + port)
PUBLIC_URL=http://platform.rapidminer.com:85
# Public domain of the SSO endpoint that will be used for external access. In most cases it should be the same as the PUBLIC_DOMAIN
SSO_PUBLIC_DOMAIN=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
ports:
mapping of the proxy service from 80:80 to 85:80. If not needed, then delete/comment out the port mapping for 443. - Remove all the ${PUBLIC_DOMAIN}
networks:
aliases from the proxy.
The result should resemble the following:
services:
proxy:
image: "${REGISTRY}rapidminer-proxy:${PROXY_VERSION}"
hostname: proxy
..........
ports:
- 0.0.0.0:85:80
#- 0.0.0.0:443:443
networks:
go-proxy-net:
aliases:
- proxy
#- ${PUBLIC_DOMAIN}
platform-int-net:
aliases:
- proxy
#- ${PUBLIC_DOMAIN}
jupyterhub-user-net:
#aliases:
#- ${PUBLIC_DOMAIN}
Run docker compose
As usual, run docker compose with the following steps:
docker compose up -d deployment-init
and after a few minutes, when this first command has completed:
docker compose up -d