The geonode/geoserver provides a / templates/geofence directory containing a j2 template for geofence datasource properties. Since 2.23.1 the data connection is a hard wired URL: jdbc:postgresql://db:5432/{{ GEONODE_GEODATABASE }}.
Version 2.23.0 instead has a configurable URL: jdbc:postgresql://{{ DATABASE_HOST }}:{{ DATABASE_PORT }}/{{ GEONODE_GEODATABASE }}
You can check this by either running
docker run --rm geonode/geoserver:2.23.1 cat /templates/geofence/geofence-datasource-ovr.properties.j2
and
docker run --rm geonode/geoserver:2.23.0 cat /templates/geofence/geofence-datasource-ovr.properties.j2
We would have to overload the template until the geonode/geoserver has been updated.
The
geonode/geoserver
provides a/ templates/geofence
directory containing a j2 template for geofence datasource properties. Since2.23.1
the data connection is a hard wired URL:jdbc:postgresql://db:5432/{{ GEONODE_GEODATABASE }}
.Version
2.23.0
instead has a configurable URL:jdbc:postgresql://{{ DATABASE_HOST }}:{{ DATABASE_PORT }}/{{ GEONODE_GEODATABASE }}
You can check this by either running
docker run --rm geonode/geoserver:2.23.1 cat /templates/geofence/geofence-datasource-ovr.properties.j2
and
docker run --rm geonode/geoserver:2.23.0 cat /templates/geofence/geofence-datasource-ovr.properties.j2
We would have to overload the template until the geonode/geoserver has been updated.