diff --git a/CHANGES.md b/CHANGES.md index bcc8be247..9b7524828 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,6 +16,7 @@ ### Fixed +* Add environment variables required by upgraded pgstac container ([#313](https://github.com/stac-utils/stac-fastapi/pull/313)) * Enabled `ContextExtension` by default ([#207](https://github.com/stac-utils/stac-fastapi/issues/207)) * Content-type response headers for the /search endpoint now reflect the geojson response expected in the STAC api spec ([#220](https://github.com/stac-utils/stac-fastapi/issues/220)) * The minimum `limit` value for searches is now 1 ([#296](https://github.com/stac-utils/stac-fastapi/pull/296)) diff --git a/docker-compose.yml b/docker-compose.yml index 4e697a02e..2529acb6f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,4 @@ version: '3' - services: app-sqlalchemy: container_name: stac-fastapi-sqlalchemy @@ -76,6 +75,10 @@ services: - POSTGRES_USER=username - POSTGRES_PASSWORD=password - POSTGRES_DB=postgis + - PGUSER=username + - PGPASSWORD=password + - PGHOST=localhost + - PGDATABASE=postgis ports: - "5439:5432" command: postgres -N 500