Skip to content

Commit ea268d4

Browse files
committed
chore(docker-compose): add stac-browser to docker compose setup
1 parent 5ce9487 commit ea268d4

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

docker-compose.yaml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
stac-pg:
33
profiles: [""] # default profile
4-
image: ghcr.io/stac-utils/stac-fastapi-pgstac:5.0.2
4+
image: ghcr.io/stac-utils/stac-fastapi-pgstac:6.1.1
55
environment:
66
APP_HOST: 0.0.0.0
77
APP_PORT: 8001
@@ -20,7 +20,8 @@ services:
2020
- "8001:8001"
2121
depends_on:
2222
- database-pg
23-
command: bash -c "./scripts/wait-for-it.sh database-pg:5432 && python -m stac_fastapi.pgstac.app"
23+
command: python -m stac_fastapi.pgstac.app
24+
# command: bash -c "./scripts/wait-for-it.sh database-pg:5432 && python -m stac_fastapi.pgstac.app"
2425

2526
stac-os:
2627
profiles: ["os"]
@@ -107,3 +108,18 @@ services:
107108
PORT: 8888
108109
ports:
109110
- "8888:8888"
111+
112+
stac-browser:
113+
image: ghcr.io/radiantearth/stac-browser:latest
114+
ports:
115+
- 8080:8080
116+
environment:
117+
SB_catalogUrl: "http://localhost:8001"
118+
SB_authConfig: |
119+
{
120+
"type": "openIdConnect",
121+
"openIdConnectUrl": "http://localhost:8888/.well-known/openid-configuration",
122+
"oidcOptions": {
123+
"client_id": "stac-browser"
124+
}
125+
}

0 commit comments

Comments
 (0)