Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Issue in geonode/geoserver version 2.23.x setup #93

Open
rabinatwayana opened this issue Apr 26, 2023 · 0 comments
Open

Issue in geonode/geoserver version 2.23.x setup #93

rabinatwayana opened this issue Apr 26, 2023 · 0 comments

Comments

@rabinatwayana
Copy link

rabinatwayana commented Apr 26, 2023

I can not access the layer preview without login

Screenshot 2566-04-26 at 7 28 28 PM

Screenshot 2566-04-26 at 7 31 42 PM

I have setup geoserver as follow:
geoserver:
image: geonode/geoserver:2.23.x
container_name: geoserver2_${COMPOSE_PROJECT_NAME}
env_file:
- geoserver_env.txt
ports:
- "${GEOSERVER_PORT}:8080"
volumes:
- ./geoserver_data:/geoserver_data/data
- /var/run/docker.sock:/var/run/docker.sock
- ./scripts/others/web.xml:/usr/local/tomcat/webapps/geoserver/WEB-INF/web.xml
environment:
DATABASE_HOST: db
DATABASE_PORT: 5432
GEONODE_GEODATABASE:
GEONODE_GEODATABASE_PASSWORD:
GEONODE_GEODATABASE_SCHEMA: public
networks:
- 'my_network

geoserver_env.txt file contains:
GEOSERVER_LOCATION=https://geoserver/geoserver/
GEOSERVER_ADMIN_USER=admin
GEOSERVER_ADMIN_PASSWORD=riskGeo321
GEOSERVER_PORT=8084

I am confused about what to pass in the environment (GEONODE_GEODATABASE and GEONODE_GEODATABASE_PASSWORD)

Is it possible to setup without configuring GEONODE_GEODATABASE part??

I would be grateful if you could help me to solve this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant