Skip to content

Commit

Permalink
fix: validation script (#39)
Browse files Browse the repository at this point in the history
The IPs were wrong. Also bump pgstac version.
  • Loading branch information
gadomski committed Jun 9, 2023
1 parent df3dfbb commit 204d335
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'
services:
app:
container_name: stac-fastapi-pgstac
image: stac-utils/stac-fastapi
image: stac-utils/stac-fastapi-pgstac
platform: linux/amd64
build: .
environment:
Expand Down Expand Up @@ -33,7 +33,7 @@ services:

database:
container_name: stac-db
image: ghcr.io/stac-utils/pgstac:v0.7.6
image: ghcr.io/stac-utils/pgstac:v0.7.9
environment:
- POSTGRES_USER=username
- POSTGRES_PASSWORD=password
Expand All @@ -47,7 +47,7 @@ services:

# Load joplin demo dataset into the PGStac Application
loadjoplin:
image: stac-utils/stac-fastapi
image: stac-utils/stac-fastapi-pgstac
environment:
- ENVIRONMENT=development
volumes:
Expand Down
4 changes: 2 additions & 2 deletions scripts/validate
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
# Assumptions:
#
# - You have stac-api-validator installed, e.g. via `pip install stac-api-validator`
# - You've loaded the joplin data, probably using `python ./scripts/ingest_joplin.py http://localhost:8080``
# - You've loaded the joplin data, probably using `python ./scripts/ingest_joplin.py http://localhost:8082``
#
# Currently, item-search is not checked, because it crashes stac-api-validator (probably a problem on our side).

set -e

if [ $# -eq 0 ]; then
root_url=http://localhost:8080
root_url=http://localhost:8082
else
root_url="$1"
fi
Expand Down

0 comments on commit 204d335

Please sign in to comment.