[GeoNode-users] GeoNode-Project Docker Postgres Access

irlan128 irlan128 at gmail.com
Mon Nov 30 03:27:39 PST 2020


Dear Allesio,
thanks for reply my question, I still cannot connect it.

This is my geofence setting

geofenceVendorAdapter.databasePlatform=org.hibernatespatial.postgis.PostgisDialect
geofenceDataSource.driverClassName=org.postgresql.Driver
geofenceDataSource.url=jdbc:postgresql://10.30.224.189:5432/geonode_data
geofenceDataSource.username=postgres	
geofenceDataSource.password=postgres
geofenceEntityManagerFactory.jpaPropertyMap[hibernate.default_schema]=public

this is my django.env settings

POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
GEONODE_DATABASE=geonode
GEONODE_DATABASE_PASSWORD=postgres
GEONODE_GEODATABASE=geonode_data
GEONODE_GEODATABASE_PASSWORD=postgres

GEONODE_DATABASE_SCHEMA=public
GEONODE_GEODATABASE_SCHEMA=public
DATABASE_URL=dbc:postgresql://10.30.224.189:5432/geonode
GEODATABASE_URL=dbc:postgresql://10.30.224.189:5432/geonode_data


this my db.env settings

POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
GEONODE_DATABASE=geonode
GEONODE_DATABASE_PASSWORD=postgres
GEONODE_GEODATABASE=geonode_data
GEONODE_GEODATABASE_PASSWORD=postgres

GEONODE_DATABASE_SCHEMA=public
GEONODE_GEODATABASE_SCHEMA=public
DATABASE_URL=dbc:postgresql://10.30.224.189:5432/geonode
GEODATABASE_URL=dbc:postgresql://10.30.224.189:5432/geonode_data


but still i cant connect the postgresql, the geonode won`t running, is there
any mistake in my setting?
thanks before

always stuck in here
irland at irlandgeonode:/opt/geonode$ docker-compose logs -f django
Attaching to django4geonode
django4geonode   | Terminated
django4geonode   | Restarting periodic command scheduler: cronStopping
periodic command scheduler: cronStarting periodic command scheduler: cron.
django4geonode   | Restarting memcached: memcached.
django4geonode   | DATABASE_URL=dbc:postgresql://10.30.224.189:5432/geonode
django4geonode   |
GEODATABASE_URL=dbc:postgresql://10.30.224.189:5432/geonode_data
django4geonode   | SITEURL=http://localhost/
django4geonode   | ALLOWED_HOSTS=['django', '*', 'localhost',
'localhost:None', 'geonode', 'django']
django4geonode   | GEOSERVER_PUBLIC_LOCATION=http://localhost/geoserver/
django4geonode   | MONITORING_ENABLED=True
django4geonode   | MONITORING_HOST_NAME=geonode
django4geonode   | MONITORING_SERVICE_NAME=local-geonode
django4geonode   | MONITORING_DATA_TTL=365





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNode-users-f5185389.html


More information about the geonode-users mailing list