Skip to content

Commit

Permalink
Apply necessary environment variables for example docker-compose (#313)
Browse files Browse the repository at this point in the history
* Apply necessary environment variables for example docker-compose

* Add to changelog
  • Loading branch information
moradology authored Jan 7, 2022
1 parent f352c0c commit 2f8e96b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
5 changes: 4 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
version: '3'

services:
app-sqlalchemy:
container_name: stac-fastapi-sqlalchemy
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2f8e96b

Please sign in to comment.