File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ Run all of the services required to run the application locally including the th
5252
5353Spin up the application stack with the pgSTAC backend using [ stac-fastapi-pgstac] ( https://github.com/stac-utils/stac-fastapi-pgstac ) :
5454``` sh
55- UPSTREAM_URL=http://stac-pg:8001 docker compose --profile pg up
55+ docker compose --profile pg up
5656```
5757
5858and with the OpenSearch backend using [ stac-fastapi-elasticsearch-opensearch] ( https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch ) :
5959``` sh
60- UPSTREAM_URL=http://stac-os:8001 docker compose --profile os up
60+ docker compose --profile os up
6161```
6262
6363
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ services:
2020 DB_MIN_CONN_SIZE : 1
2121 DB_MAX_CONN_SIZE : 1
2222 USE_API_HYDRATE : ${USE_API_HYDRATE:-false}
23+ hostname : stac
2324 ports :
2425 - " 8001:8001"
2526 depends_on :
@@ -30,7 +31,6 @@ services:
3031 profiles : ["os"]
3132 container_name : stac-fastapi-os
3233 image : ghcr.io/stac-utils/stac-fastapi-os:v6.1.0
33- hostname : stac-os
3434 environment :
3535 STAC_FASTAPI_TITLEL : stac-fastapi-opensearch
3636 STAC_FASTAPI_DESCRIPTION : A STAC FastAPI with an Opensearch backend
@@ -47,6 +47,7 @@ services:
4747 ES_VERIFY_CERTS : false
4848 BACKEND : opensearch
4949 STAC_FASTAPI_RATE_LIMIT : 200/minute
50+ hostname : stac
5051 ports :
5152 - " 8001:8001"
5253 depends_on :
@@ -94,7 +95,7 @@ services:
9495 build :
9596 context : .
9697 environment :
97- UPSTREAM_URL : ${UPSTREAM_URL:-http://stac-pg :8001}
98+ UPSTREAM_URL : ${UPSTREAM_URL:-http://stac:8001}
9899 OIDC_DISCOVERY_URL : ${OIDC_DISCOVERY_URL:-http://localhost:8888/.well-known/openid-configuration}
99100 OIDC_DISCOVERY_INTERNAL_URL : ${OIDC_DISCOVERY_INTERNAL_URL:-http://oidc:8888/.well-known/openid-configuration}
100101 env_file :
You can’t perform that action at this time.
0 commit comments