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

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

@rabinatwayana

Description

@rabinatwayana

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions