Skip to content

fix(geoserver): use gwccache volume for GeoServer cache by default - #82

Merged
mo3rfan merged 2 commits into
mainfrom
fix/geoserver-gwccache-default-cache-dir
Jul 27, 2026
Merged

mo3rfan merged 2 commits into
mainfrom
fix/geoserver-gwccache-default-cache-dir

Conversation

@brynsofz

Copy link
Copy Markdown
Contributor

This PR updates the GeoServer chart so that when the optional gwccache volume is enabled, GEOWEBCACHE_CACHE_DIR defaults to the mounted cache path at /var/geoserver/gwc_cache_dir.

If gwccache is not enabled, the chart keeps the existing default of $(GEOSERVER_DATA_DIR)/gwc_cache_dir. Explicit geoserver_cache_data_dir values still take priority.

@brynsofz
brynsofz requested a review from mo3rfan July 23, 2026 08:44

@mo3rfan mo3rfan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, but I noticed a possible bug coming from an earlier change. Let's rectify that too if possible.

@mo3rfan
mo3rfan merged commit 89ade31 into main Jul 27, 2026
1 check passed
@brynsofz
brynsofz deleted the fix/geoserver-gwccache-default-cache-dir branch July 31, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants