Skip to content

MaxDragonheart/docker-geoserver

Repository files navigation

Geoserver Docker Image

The latest version of this image use the latest stable version of Geoserver

On 11-02-2024:

  • Geoserver stable version: 2.24.2

Since 01-01-2024 the image's tag system follow the official Geoserver's versions tag.

Credentials

Username: admin

Password: geoserver

Pre-installed extensions

Run project

Use .env to customize your version:

GS_VERSION=2.20.4
GS_DEMO_DATA=False
GS_INITIAL_MEMORY=1G
GS_MAXIMUM_MEMORY=4G
GS_HTTP_PORT=8600

Build for Compose: docker compose -f docker-compose.yml up -d --build

Active PROXY_BASE_URL and GEOSERVER_CSRF_WHITELIST

Edit web.xml using the right PROXY_BASE_URL and GEOSERVER_CSRF_WHITELIST. After the edit use docker compose -f docker_compose_file.yml restart.

Official Geoserver Documentation