9 Commits

Author SHA1 Message Date
Gabriel Roldan
47ff586e2b
Consolidate ImageMosaic acceptance tests
- Add comprehensive ImageMosaic test coverage: direct directory, manual granules,
  empty store workflows, and XML-based store creation
- Fix file path handling: use direct paths instead of file:// URLs for local files
- Update documentation to mention shared mount volume at /mnt/geoserver_data
- Add version testing examples (TAG=2.27.1.0, TAG=2.26.2.0) to README

Tests pass with datadir backend but show limitations with pgconfig backend.
Provides comprehensive test coverage for realistic ImageMosaic workflows.
2025-07-12 00:50:00 -03:00
Gabriel Roldan
990193b135
Refactor (dev) Docker Compose files for Improved Reusability and Consistency
Refactor the Docker Compose configurations to improve maintainability, reduce
duplication, and ensure consistent environment variable management across all services.

- **Extracted reusable volume and environment variable definitions** using YAML anchors:
  - `&geoserver_environment`: Defines common environment variables for GeoServer services.
  - `&geoserver_volumes`: Standardizes shared volume mounts.
  - `&gs-dependencies`: Centralized service dependencies.
- **Standardized environment variables** across all services:
  - Replaced repetitive `SPRING_PROFILES_ACTIVE` definitions with a shared `x-geoserver-env` anchor.
  - Removed redundant service-specific `JAVA_OPTS` definitions, replacing them with `JAVA_OPTS_DEFAULT`.
- **Updated `.env` file**:
  - Consolidated logging and default profile variables.
  - Cleaned up and reordered variables for clarity.
  - Removed unused `GATEWAY_SHARED_AUTH` and per-service `JAVA_OPTS_*` entries.
- **Refactored service definitions**:
  - Applied `x-geoserver-env` to all GeoServer services.
  - Applied `x-geoserver-volumes` to services requiring volume mounts.
  - Applied `x-gs-dependencies` to all dependent services.
- **Improved volume handling**:
  - Unified the `data_directory` and `geowebcache_data` volumes.
  - Ensured volumes are correctly referenced in all catalog configurations (`datadir`, `jdbcconfig`, `pgconfig`).

- **Reduces duplication**: Less repetition in `compose.yml` files.
- **Improves maintainability**: Easier to modify environment variables and dependencies in one place.
- **Ensures consistency**: All services use the same configuration structure.
- **Enhances readability**: More structured and understandable YAML files.

This refactor does not introduce functional changes but significantly improves configuration management.
2025-02-18 16:29:20 -03:00
Gabriel Roldan
df171dcb13 improvements for the development docker composition
* use a postgis docker image with arm64 support
* add shell scripts for to run docker compose with the different catalog backends
2024-09-27 15:51:44 +02:00
Gabriel Roldan
17098461e8 Avoid exceptions when gateway-shared-auth is disabled after being enabled
If the `gateway-shared-auth` geoserver authentication filter was
enabled, and it was automatically added to the filter chains, when
disabled and the applications restart, would produce an error message
and the webui Authentication configuration page would be broken.

This patch adds a no-op filter when `gateway-shared-auth` is disabled by
externalized configuration.
2024-07-15 13:13:00 -03:00
Gabriel Roldan
3fbc8feb79 docker compose samples: always use the /data/geowebcache mount as cache dir 2024-05-13 08:55:13 -03:00
Gabriel Roldan
e80a19fe7f Parameterize default jndi datasources enablement
Make it easier to enable the pgconfig and postgis jndi datasources with
short env variables. The postgis one is mostly an example used in the
development compose files.
2024-04-04 20:25:35 -03:00
Gabriel Roldan
50f6314ae5 Remove obsolete version property from docker compose dev files 2024-04-04 20:04:34 -03:00
Gabriel Roldan
7011646a4f dev compose: remove depends_on from template, works on some docker compose versions and not on others 2024-02-29 20:50:27 -03:00
Gabriel Roldan
fe115443c2 Move development docker compose files to ./compose/*yml and improve documentation 2024-01-27 22:35:29 -03:00