<div dir="ltr"><div>Hi Toni,</div><div>I have updated the URL and port at</div><div><span style="color:rgb(0,0,0);font-family:SourceSansLocal,source-sans-pro,"Source Sans Pro",-apple-system,Roboto,"pt sans",calibri,sans-serif;font-size:16px;background-color:rgb(253,253,253)"> </span><a href="https://yourdomain.org/de/admin/oauth2_provider/application" rel="nofollow noopener noreferrer" target="_blank" class="gmail-link" style="text-decoration-line:none;color:rgb(52,152,219);font-family:SourceSansLocal,source-sans-pro,"Source Sans Pro",-apple-system,Roboto,"pt sans",calibri,sans-serif;font-size:16px;background-color:rgb(253,253,253)">https://yourdomain.org/de/admin/oauth2_provider/application</a><span style="color:rgb(0,0,0);font-family:SourceSansLocal,source-sans-pro,"Source Sans Pro",-apple-system,Roboto,"pt sans",calibri,sans-serif;font-size:16px;background-color:rgb(253,253,253)"> and for geoserver : </span><a href="https://yourdomain.org/geoserver/web/wicket/page?5" rel="nofollow noopener noreferrer" target="_blank" class="gmail-link" style="text-decoration-line:none;color:rgb(52,152,219);font-family:SourceSansLocal,source-sans-pro,"Source Sans Pro",-apple-system,Roboto,"pt sans",calibri,sans-serif;font-size:16px;background-color:rgb(253,253,253)">https://yourdomain.org/geoserver/web/wicket/page?5</a> <br></div><div>but still, it is redirected port 80</div><div>For your reference, I have included a config detail </div><div><br></div><div>Any suggestion...</div><div><br></div><div>Regards</div><div>Deb</div><div>--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</div><div>What I am trying</div><div><font color="#0c343d">I have installed a GeoNode docker on VM with the different port (: 90 ) so that it should not conflict with another running docker container.</font></div><div><font color="#0c343d">Even after changing the port on docker-compose.yml and docker-compose.override.localhost.yml file, GeoServer is still it redirected to port:80 instant of port:90</font></div><div><font color="#0c343d"><br></font></div><div><font color="#0c343d">Am I missing anything in the configuration</font></div><div><br></div><div><br></div><div><br></div><div><font color="#0c343d" style="background-color:rgb(255,255,0)">Here is the
docker-compose.override.localhost.yml configuration</font></div><div><br></div><font color="#0000ff">version: '2.2'<br>services:<br><br> django:<br> build: .<br> # Loading the app is defined here to allow for<br> # autoreload on changes it is mounted on top of the<br> # old copy that docker added when creating the image<br> volumes:<br> - '.:/usr/src/app'<br> environment:<br> - DEBUG=True<br> - GEONODE_LB_HOST_IP=10.0.0.117<br> - GEONODE_LB_PORT=90<br> - SITEURL=http:// 10.0.0.117 :90/<br> - ALLOWED_HOSTS=['10.0.0.117','*','localhost']<br> - GEOSERVER_PUBLIC_LOCATION=http:// <a href="http://10.0.0.117:90">10.0.0.117:90</a> /geoserver/<br> - GEOSERVER_WEB_UI_LOCATION= http:// <a href="http://10.0.0.117:90">10.0.0.117:90</a> /geoserver/ <br><br> geoserver:<br> environment:<br> - GEONODE_LB_HOST_IP= x.x.x.x.x:90<br> - GEONODE_LB_PORT=90<br> - PUBLIC_PORT=90</font><div><font color="#0000ff"><i><br></i></font></div><div><font color="#0000ff"><i><br></i></font></div><div><font color="#0000ff"><i><br></i></font></div><div><span style="background-color:rgb(255,255,0)"> Here is the docker-compose.yml configuration </span><font color="#0000ff"><i><br></i></font></div><div><span style="background-color:rgb(255,255,0)"><br></span></div><div><font color="#0000ff">version: '2.2'<br>services:<br><br> db:<br> image: geonode/postgis:11<br> restart: unless-stopped<br> container_name: db4${COMPOSE_PROJECT_NAME}<br> stdin_open: true<br> # tty: true<br> labels:<br> org.geonode.component: db<br> <a href="http://org.geonode.instance.name" target="_blank">org.geonode.instance.name</a>: geonode<br> volumes:<br> - dbdata:/var/lib/postgresql/data<br> - dbbackups:/pg_backups<br> env_file:<br> - ./scripts/docker/env/${SET_DOCKER_ENV}/db.env<br><br> geoserver:<br> image: geonode/geoserver:2.16.2<br> restart: unless-stopped<br> container_name: geoserver4${COMPOSE_PROJECT_NAME}<br> stdin_open: true<br> # tty: true<br> <br> labels:<br> org.geonode.component: geoserver<br> <a href="http://org.geonode.instance.name" target="_blank">org.geonode.instance.name</a>: geonode<br> depends_on:<br> - db<br> - data-dir-conf<br> volumes:<br> - geoserver-data-dir:/geoserver_data/data<br> - backup-restore:/backup_restore<br> env_file:<br> - ./scripts/docker/env/${SET_DOCKER_ENV}/geoserver.env<br><br> django:<br> restart: unless-stopped<br> image: geonode/geonode:latest<br> container_name: django4${COMPOSE_PROJECT_NAME}<br> stdin_open: true<br> # tty: true<br> labels:<br> org.geonode.component: django<br> <a href="http://org.geonode.instance.name" target="_blank">org.geonode.instance.name</a>: geonode<br> depends_on:<br> - db<br> - data-dir-conf<br> # command: paver start_django -b <a href="http://0.0.0.0:8000" target="_blank">0.0.0.0:8000</a><br> # command: uwsgi --ini uwsgi.ini<br> volumes:<br> - statics:/mnt/volumes/statics<br> - geoserver-data-dir:/geoserver_data/data<br> - backup-restore:/backup_restore<br> env_file:<br> - ./scripts/docker/env/${SET_DOCKER_ENV}/django.env<br><br> geonode:<br> image: geonode/nginx:${SET_DOCKER_ENV}<br> restart: unless-stopped<br> container_name: nginx4${COMPOSE_PROJECT_NAME}<br> stdin_open: true<br> # tty: true<br> labels:<br> org.geonode.component: nginx<br> <a href="http://org.geonode.instance.name" target="_blank">org.geonode.instance.name</a>: geonode<br> depends_on:<br> - django<br> - geoserver<br> ports:<br> - "90:80"<br> volumes:<br> - statics:/mnt/volumes/statics<br><br> data-dir-conf:<br> image: geonode/geoserver_data:2.16.2<br> restart: on-failure<br> container_name: gsconf4${COMPOSE_PROJECT_NAME}<br> labels:<br> org.geonode.component: conf<br> <a href="http://org.geonode.instance.name" target="_blank">org.geonode.instance.name</a>: geonode<br> command: /bin/true<br> volumes:<br> - geoserver-data-dir:/geoserver_data/data<br><br>volumes:<br> statics:<br> name: ${COMPOSE_PROJECT_NAME}-statics<br> geoserver-data-dir:<br> name: ${COMPOSE_PROJECT_NAME}-gsdatadir<br> dbdata:<br> name: ${COMPOSE_PROJECT_NAME}-dbdata<br> dbbackups:<br> name: ${COMPOSE_PROJECT_NAME}-dbbackups<br> rabbitmq:<br> name: ${COMPOSE_PROJECT_NAME}-rabbitmq<br> backup-restore:<br> name: ${COMPOSE_PROJECT_NAME}-backup-restore<br></font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><br></font></div><div><br></div><div><div><img src="cid:ii_k9b7og1i0" alt="image.png" width="562" height="544"><br></div></div><div><br></div><div><br></div><div><div><img src="cid:ii_k9b7q2lo1" alt="image.png" width="562" height="503"><br></div></div><div><br></div><div><div><img src="cid:ii_k9b8phy22" alt="image.png" width="562" height="289"><br></div></div><div><br></div><div><font color="#0000ff"><i><br></i></font></div><div><font color="#0000ff"><i><br></i></font></div><div><font color="#0000ff"><i><br></i></font></div><div><font color="#0000ff"><i><br></i></font></div></div>