Skip to content

Commit 646a2b5

Browse files
committed
Retain pgSTAC backend as default profile
Eliminate profiles for common services
1 parent f21c0d4 commit 646a2b5

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Run all of the services required to run the application locally including the th
5252

5353
Spin up the application stack with the pgSTAC backend using [stac-fastapi-pgstac](https://github.com/stac-utils/stac-fastapi-pgstac):
5454
```sh
55-
docker compose --profile pg up
55+
docker compose up
5656
```
5757

5858
and with the OpenSearch backend using [stac-fastapi-elasticsearch-opensearch](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch):

docker-compose.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
stac-pg:
3-
profiles: ["pg"]
3+
profiles: [""] # default profile
44
image: ghcr.io/stac-utils/stac-fastapi-pgstac:5.0.2
55
environment:
66
APP_HOST: 0.0.0.0
@@ -56,7 +56,7 @@ services:
5656
bash -c "./scripts/wait-for-it-es.sh database-os:9200 && python -m stac_fastapi.opensearch.app"
5757

5858
database-pg:
59-
profiles: ["pg"]
59+
profiles: [""] # default profile
6060
container_name: database-pg
6161
image: ghcr.io/stac-utils/pgstac:v0.9.5
6262
environment:
@@ -89,8 +89,7 @@ services:
8989
- "9200:9200"
9090

9191
proxy:
92-
profiles: ["pg", "os"]
93-
depends_on:
92+
depends_on:
9493
- oidc
9594
build:
9695
context: .
@@ -107,8 +106,7 @@ services:
107106
- ./src:/app/src
108107

109108
oidc:
110-
profiles: ["pg", "os"]
111-
image: ghcr.io/alukach/mock-oidc-server:latest
109+
image: ghcr.io/alukach/mock-oidc-server:latest
112110
environment:
113111
ISSUER: http://localhost:8888
114112
SCOPES: item:create,item:update,item:delete,collection:create,collection:update,collection:delete

0 commit comments

Comments
 (0)