Skip to content

Commit

Permalink
Mount volume for GS data_dir in test compose setup
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismayer committed Oct 11, 2024
1 parent 30116ea commit 15d7833
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci-geoserver-node-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
runs-on: ubuntu-latest
env:
GEOSERVER_VERSION: 2.25.3
TMPDIR: ${{ runner.temp }}
steps:
- name: Install program "wait-for-it"
run: sudo apt install wait-for-it
Expand Down Expand Up @@ -44,6 +45,7 @@ jobs:
runs-on: ubuntu-latest
env:
GEOSERVER_VERSION: 2.26.0
TMPDIR: ${{ runner.temp }}
steps:
- name: Install program "wait-for-it"
run: sudo apt install wait-for-it
Expand Down
3 changes: 2 additions & 1 deletion test/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ services:
restart: unless-stopped
ports:
- 8080:8080
volumes:
- ${TMPDIR}:/opt/geoserver_data/:Z
environment:
- CORS_ENABLED=1
- SKIP_DEMO_DATA=true

postgres:
image: postgis/postgis:${POSTGRES_VERSION}-${POSTGIS_VERSION}
Expand Down

0 comments on commit 15d7833

Please sign in to comment.