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
52
52
53
53
Spin up the application stack with the pgSTAC backend using [ stac-fastapi-pgstac] ( https://github.com/stac-utils/stac-fastapi-pgstac ) :
54
54
``` sh
55
- UPSTREAM_URL=http://stac-pg:8001 docker compose --profile pg up
55
+ docker compose --profile pg up
56
56
```
57
57
58
58
and with the OpenSearch backend using [ stac-fastapi-elasticsearch-opensearch] ( https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch ) :
59
59
``` sh
60
- UPSTREAM_URL=http://stac-os:8001 docker compose --profile os up
60
+ docker compose --profile os up
61
61
```
62
62
63
63
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ services:
20
20
DB_MIN_CONN_SIZE : 1
21
21
DB_MAX_CONN_SIZE : 1
22
22
USE_API_HYDRATE : ${USE_API_HYDRATE:-false}
23
+ hostname : stac
23
24
ports :
24
25
- " 8001:8001"
25
26
depends_on :
@@ -30,7 +31,6 @@ services:
30
31
profiles : ["os"]
31
32
container_name : stac-fastapi-os
32
33
image : ghcr.io/stac-utils/stac-fastapi-os:v6.1.0
33
- hostname : stac-os
34
34
environment :
35
35
STAC_FASTAPI_TITLEL : stac-fastapi-opensearch
36
36
STAC_FASTAPI_DESCRIPTION : A STAC FastAPI with an Opensearch backend
@@ -47,6 +47,7 @@ services:
47
47
ES_VERIFY_CERTS : false
48
48
BACKEND : opensearch
49
49
STAC_FASTAPI_RATE_LIMIT : 200/minute
50
+ hostname : stac
50
51
ports :
51
52
- " 8001:8001"
52
53
depends_on :
@@ -94,7 +95,7 @@ services:
94
95
build :
95
96
context : .
96
97
environment :
97
- UPSTREAM_URL : ${UPSTREAM_URL:-http://stac-pg :8001}
98
+ UPSTREAM_URL : ${UPSTREAM_URL:-http://stac:8001}
98
99
OIDC_DISCOVERY_URL : ${OIDC_DISCOVERY_URL:-http://localhost:8888/.well-known/openid-configuration}
99
100
OIDC_DISCOVERY_INTERNAL_URL : ${OIDC_DISCOVERY_INTERNAL_URL:-http://oidc:8888/.well-known/openid-configuration}
100
101
env_file :
You can’t perform that action at this time.
0 commit comments