Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add geowebcache component to the helm chart #103

Merged
merged 1 commit into from
Jul 11, 2024
Merged

add geowebcache component to the helm chart #103

merged 1 commit into from
Jul 11, 2024

Conversation

edevosc2c
Copy link
Member

Geowebcache is a component not really used by a lot of people, but it's actually officially supported in geOrchestra:

This PR adds the ability to configure geowebcache standalone.

For the moment, it is a bit tricky to make it work because you have to pass the env JAVA_OPTIONS: -DGEOWEBCACHE_CONFIG_DIR=/etc/georchestra/geowebcache. But there will be soon an official way to support geowebcache.xml from the geOrchestra datadir instead of a separate geowebcache datadir.

@edevosc2c edevosc2c added the enhancement New feature or request label Jul 9, 2024
@jeanpommier
Copy link
Member

For the moment, it is a bit tricky to make it work because you have to pass the env JAVA_OPTIONS: -DGEOWEBCACHE_CONFIG_DIR=/etc/georchestra/geowebcache. But there will be soon an official way to support geowebcache.xml from the geOrchestra datadir instead of a separate geowebcache datadir.

I don't really understand what you mean by this, I can't relate it with the code I'm seeing. Can you explain it a bit more ?

@edevosc2c
Copy link
Member Author

For the moment, it is a bit tricky to make it work because you have to pass the env JAVA_OPTIONS: -DGEOWEBCACHE_CONFIG_DIR=/etc/georchestra/geowebcache. But there will be soon an official way to support geowebcache.xml from the geOrchestra datadir instead of a separate geowebcache datadir.

I don't really understand what you mean by this, I can't relate it with the code I'm seeing. Can you explain it a bit more ?

Geowebcache requires geowebcache.xml to work, by default it's stored in /mnt/geowebcache_datadir, a separate volume. You can see here, on a first start the file is copied: https://github.com/georchestra/georchestra/blob/master/geowebcache-webapp/src/docker/docker-entrypoint.d/00-geowebcache-bootstrap#L9

The issue is that it's "dumb" to have a whole PVC (volume) for just a single file.

So we will plan to add the support for this file geowebcache.xml in the geOrchestra datadir.

@edevosc2c edevosc2c merged commit 17ae26b into main Jul 11, 2024
1 check failed
@edevosc2c edevosc2c deleted the geowebcache branch July 11, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants