@@ -34,27 +34,27 @@ services:
3434 image : ghcr.io/stac-utils/stac-fastapi-os:latest
3535 hostname : stac-os
3636 environment :
37- - STAC_FASTAPI_TITLE= stac-fastapi-opensearch
38- - STAC_FASTAPI_DESCRIPTION= A STAC FastAPI with an Opensearch backend
39- - STAC_FASTAPI_VERSION= 6.0.0
40- - STAC_FASTAPI_LANDING_PAGE_ID= stac-fastapi-opensearch
41- - APP_HOST= 0.0.0.0
42- - APP_PORT= 8001
43- - RELOAD= true
44- - ENVIRONMENT= local
45- - WEB_CONCURRENCY= 10
46- - ES_HOST= database-os
47- - ES_PORT=9202
48- - ES_USE_SSL= false
49- - ES_VERIFY_CERTS= false
50- - BACKEND= opensearch
51- - STAC_FASTAPI_RATE_LIMIT= 200/minute
37+ STAC_FASTAPI_TITLEL : stac-fastapi-opensearch
38+ STAC_FASTAPI_DESCRIPTION : A STAC FastAPI with an Opensearch backend
39+ STAC_FASTAPI_VERSION : 6.0.0
40+ STAC_FASTAPI_LANDING_PAGE_ID : stac-fastapi-opensearch
41+ APP_HOST : 0.0.0.0
42+ APP_PORT : 8001
43+ RELOAD : true
44+ ENVIRONMENT : local
45+ WEB_CONCURRENCY : 10
46+ ES_HOST : database-os
47+ ES_PORT : 9200
48+ ES_USE_SSL : false
49+ ES_VERIFY_CERTS : false
50+ BACKEND : opensearch
51+ STAC_FASTAPI_RATE_LIMIT : 200/minute
5252 ports :
5353 - " 8001:8001"
5454 depends_on :
5555 - database-os
5656 command :
57- bash -c "./scripts/wait-for-it-es.sh database-os:9202 && python -m stac_fastapi.opensearch.app"
57+ bash -c "./scripts/wait-for-it-es.sh database-os:9200 && python -m stac_fastapi.opensearch.app"
5858
5959 database-pg :
6060 profiles : ["pg"]
@@ -79,14 +79,15 @@ services:
7979 image : opensearchproject/opensearch:${OPENSEARCH_VERSION:-2.11.1}
8080 hostname : database-os
8181 environment :
82- - discovery.type=single-node
83- - plugins.security.disabled=true
84- - OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m
85- volumes :
86- - ./opensearch/config/opensearch.yml:/usr/share/opensearch/config/opensearch.yml
87- - ./opensearch/snapshots:/usr/share/opensearch/snapshots
82+ cluster.name : stac-cluster
83+ node.name : os01
84+ http.port : 9200
85+ http.cors.allow-headers : X-Requested-With,Content-Type,Content-Length,Accept,Authorization
86+ discovery.type : single-node
87+ plugins.security.disabled : true
88+ OPENSEARCH_JAVA_OPTS : -Xms512m -Xmx512m
8889 ports :
89- - " 9202:9202 "
90+ - " 9200:9200 "
9091
9192 proxy :
9293 profiles : ["pg", "os"]
0 commit comments