geonode-project
geonode-project copied to clipboard
Custom port is ignored on Docker
I choose 5080
as public port.
Here is my .env
file:
[...]
SITEURL=http://localhost:5080/
[...]
HTTP_PORT=5080
[...]
GEOSERVER_WEB_UI_LOCATION=http://localhost:5080/geoserver/
GEOSERVER_PUBLIC_LOCATION=http://localhost:5080/geoserver/
[...]
Login is broken, since the login button points to http://localhost/geoserver/j_spring_security_check
, and the OAuth2 login button points to http://localhost/geoserver/web/j_spring_oauth2_geonode_login
.
GEONODE_LB_PORT=
should be changed too to match the new port.
I noticed another issue after that: the home page cannot load properly, as shown in this call:
GET http://localhost:5080/proxy/?url=http://localhost/api/v2/resources?page=1&page_size=20&filter%7Bmetadata_only%7D=false&include=executions
Why is such proxy needed?