Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
stac-pg:
profiles: [""] # default profile
image: ghcr.io/stac-utils/stac-fastapi-pgstac:5.0.2
image: ghcr.io/stac-utils/stac-fastapi-pgstac:6.1.1
environment:
APP_HOST: 0.0.0.0
APP_PORT: 8001
Expand All @@ -15,12 +15,14 @@ services:
DB_MIN_CONN_SIZE: 1
DB_MAX_CONN_SIZE: 1
USE_API_HYDRATE: ${USE_API_HYDRATE:-false}
CORS_HEADERS: "Content-Type,Authorization"
hostname: stac
ports:
- "8001:8001"
depends_on:
- database-pg
command: bash -c "./scripts/wait-for-it.sh database-pg:5432 && python -m stac_fastapi.pgstac.app"
command: python -m stac_fastapi.pgstac.app
# command: bash -c "./scripts/wait-for-it.sh database-pg:5432 && python -m stac_fastapi.pgstac.app"

stac-os:
profiles: ["os"]
Expand Down Expand Up @@ -107,3 +109,18 @@ services:
PORT: 8888
ports:
- "8888:8888"

stac-browser:
image: ghcr.io/radiantearth/stac-browser:latest
ports:
- 8080:8080
environment:
SB_catalogUrl: "http://localhost:8000"
SB_authConfig: |
{
"type": "openIdConnect",
"openIdConnectUrl": "http://localhost:8888/.well-known/openid-configuration",
"oidcOptions": {
"client_id": "stac-browser"
}
}
Loading