File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Elasticsearch and Opensearch backends for the stac-fastapi project
4
4
5
+ [ ![ PyPI version] ( https://badge.fury.io/py/stac-fastapi.elasticsearch.svg )] ( https://badge.fury.io/py/stac-fastapi.elasticsearch )
5
6
7
+ To install from PyPI:
8
+
9
+ ``` shell
10
+ pip install stac_fastapi.elasticsearch
11
+ ```
12
+ or
13
+ ```
14
+ pip install stac_fastapi.opensearch
15
+ ```
6
16
7
17
#### For changes, see the [ Changelog] ( CHANGELOG.md )
8
18
@@ -32,17 +42,17 @@ Prior to commit, run:
32
42
pre-commit run --all-files
33
43
```
34
44
35
-
36
- ## Building
45
+ ## Build Elasticsearh API backend
37
46
38
47
``` shell
39
- docker-compose build
48
+ docker-compose up elasticsearch
49
+ docker-compose build app-elasticsearch
40
50
```
41
51
42
- ## Running API on localhost:8080
52
+ ## Running Elasticsearh API on localhost:8080
43
53
44
54
``` shell
45
- docker-compose up
55
+ docker-compose up app-elasticsearch
46
56
```
47
57
48
58
By default, docker-compose uses Elasticsearch 8.x and OpenSearch 2.11.1.
You can’t perform that action at this time.
0 commit comments