-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes for jdbcstore, jdbcconfig & jndi (#699)
* fix: jdbcstore.properties wrong filename and allow usage of jndi with jdbcconfig & jdbcstore
- Loading branch information
Showing
12 changed files
with
125 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
|
||
volumes: | ||
geoserver-data-dir: | ||
postgis-data: | ||
|
||
|
||
services: | ||
db: | ||
image: kartoza/postgis:17-3.5 | ||
volumes: | ||
- postgis-data:/var/lib/postgresql | ||
environment: | ||
- POSTGRES_DB=gis | ||
- POSTGRES_USER=docker | ||
- POSTGRES_PASS=docker | ||
- ALLOW_IP_RANGE=0.0.0.0/0 | ||
- POSTGRES_MULTIPLE_EXTENSIONS=postgis,hstore,postgis_topology,postgis_raster,pgrouting | ||
- RUN_AS_ROOT=true | ||
restart: on-failure | ||
healthcheck: | ||
test: "PGPASSWORD=docker pg_isready -h 127.0.0.1 -U docker -d gis" | ||
|
||
geoserver: | ||
image: 'kartoza/geoserver:${TAG:-manual-build}' | ||
restart: 'always' | ||
volumes: | ||
- geoserver-data-dir:/opt/geoserver/data_dir | ||
- ./tests:/tests | ||
environment: | ||
GEOSERVER_ADMIN_PASSWORD: myawesomegeoserver | ||
GEOSERVER_ADMIN_USER: admin | ||
INITIAL_MEMORY: 2G | ||
MAXIMUM_MEMORY: 4G | ||
POSTGRES_JNDI: TRUE | ||
POSTGRES_PORT: 5432 | ||
HOST: db | ||
POSTGRES_DB: gis | ||
POSTGRES_USER: docker | ||
POSTGRES_PASS: docker | ||
RECREATE_DATADIR: TRUE | ||
CONSOLE_HANDLER_LEVEL: WARNING | ||
SAMPLE_DATA: true | ||
DB_BACKEND: POSTGRES | ||
COMMUNITY_EXTENSIONS: jdbcconfig-plugin,jdbcstore-plugin | ||
TEST_CLASS: test_jdbconfig.TestGeoServerJDBCONFIG | ||
depends_on: | ||
db: | ||
condition: service_healthy | ||
ports: | ||
- "8080:8080" | ||
healthcheck: | ||
test: ["CMD-SHELL", "curl --fail --silent --write-out 'HTTP CODE : %{http_code}\n' --output /dev/null -u $${GEOSERVER_ADMIN_USER}:$${GEOSERVER_ADMIN_PASSWORD} http://localhost:8080/geoserver/rest/about/version.xml"] | ||
interval: 1m30s | ||
timeout: 10s | ||
retries: 3 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters