geoservercloud/geoserver-cloud-config

By geoservercloud

Updated 6 days ago

Spring Cloud Config server for GeoServer Cloud docker compose deployments.

Image
Networking
Web servers
0

50K+

geoservercloud/geoserver-cloud-config repository overview

GeoServer Cloud — Config Server

Spring Cloud Config server for GeoServer Cloud. Serves centralized, externalized configuration to every other GeoServer Cloud service at bootstrap.

About GeoServer Cloud

GeoServer is an open-source server for sharing geospatial data. GeoServer Cloud repackages GeoServer as a set of independently deployable and scalable microservices built on Spring Boot and Spring Cloud.

What this image provides

This image runs the Config Server, the bootstrap component that publishes configuration to every other GeoServer Cloud service. On startup each service contacts the config server, downloads its configuration, and only then starts its Spring context. This keeps service images generic and deployment-specific settings centralized.

Two modes of serving configuration are supported:

  • native profile (default) — serves configuration from a local directory (a baked-in /etc/geoserver inside this image, or a mounted volume).
  • git profile — clones a Git repository that holds the configuration files. Useful for GitOps-style pipelines.

This image is primarily used in Docker Compose deployments. In Kubernetes, configuration typically lives in ConfigMaps or Secrets and this service is not deployed — the standalone profile on each service reads its config directly.

Tags

  • <version> — stable release (e.g. 3.0.0)
  • <version>-RC<n> — release candidate (e.g. 3.0.0-RC1)
  • <version>-SNAPSHOT — development snapshot from main

No latest tag is published — always pin to a specific version. Images are multi-arch (linux/amd64, linux/arm64) and signed with cosign.

Quick start

Serve the baked-in default configuration:

docker run --rm -p 8888:8888 \
  geoservercloud/geoserver-cloud-config:3.0.0-SNAPSHOT

Serve configuration from a Git repository:

docker run --rm -p 8888:8888 \
  -e SPRING_PROFILES_ACTIVE=git \
  -e CONFIG_GIT_URI=https://github.com/your-org/geoserver-cloud-config.git \
  -e SPRING_CLOUD_CONFIG_SERVER_GIT_DEFAULT_LABEL=main \
  geoservercloud/geoserver-cloud-config:3.0.0-SNAPSHOT

Fetch a config file to verify:

curl http://localhost:8888/gateway-service/default | jq

Configuration

SettingDefaultNotes
HTTP port8888override with SERVER_PORT
Profilesnative,standaloneswitch to git for Git-backed config
Native path/etc/geoservermount here to override the baked-in config
CONFIG_GIT_URIhttps://github.com/geoserver/geoserver-cloud-config.gitonly used with git profile
SPRING_CLOUD_CONFIG_SERVER_GIT_DEFAULT_LABELmasterbranch or tag to check out
HealthGET /actuator/healthliveness & readiness

Support

Tag summary

Content type

Image

Digest

sha256:4c0c542ef

Size

179.4 MB

Last updated

6 days ago

docker pull geoservercloud/geoserver-cloud-config:3.0.1-SNAPSHOT