Skip to content

Commit 13a9b50

Browse files
committed
update runtime versions
1 parent bc0caee commit 13a9b50

File tree

1 file changed

+6
-26
lines changed

1 file changed

+6
-26
lines changed

docker-compose.yml

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3'
2-
31
services:
42

53
# change to official image when available https://github.com/radiantearth/stac-browser/pull/386
@@ -15,7 +13,7 @@ services:
1513
- database
1614

1715
stac-fastapi:
18-
image: ghcr.io/stac-utils/stac-fastapi-pgstac:3.0.0
16+
image: ghcr.io/stac-utils/stac-fastapi-pgstac:4.0.1
1917
ports:
2018
- "${MY_DOCKER_IP:-127.0.0.1}:8081:8081"
2119
environment:
@@ -39,19 +37,10 @@ services:
3937
# At the time of writing, rasterio and psycopg wheels are not available for arm64 arch
4038
# so we force the image to be built with linux/amd64
4139
platform: linux/amd64
42-
image: ghcr.io/stac-utils/titiler-pgstac:1.3.1
40+
image: ghcr.io/stac-utils/titiler-pgstac:1.7.0
4341
ports:
4442
- "${MY_DOCKER_IP:-127.0.0.1}:8082:8082"
4543
environment:
46-
# Application
47-
- HOST=0.0.0.0
48-
- PORT=8082
49-
# https://github.com/tiangolo/uvicorn-gunicorn-docker#web_concurrency
50-
- WEB_CONCURRENCY=1
51-
# https://github.com/tiangolo/uvicorn-gunicorn-docker#workers_per_core
52-
- WORKERS_PER_CORE=1
53-
# https://github.com/tiangolo/uvicorn-gunicorn-docker#max_workers
54-
- MAX_WORKERS=10
5544
# Postgres connection
5645
- POSTGRES_USER=username
5746
- POSTGRES_PASS=password
@@ -80,24 +69,15 @@ services:
8069
depends_on:
8170
- database
8271
command:
83-
bash -c "bash /tmp/scripts/wait-for-it.sh -t 120 -h database -p 5432 && /start.sh"
72+
bash -c "bash /tmp/scripts/wait-for-it.sh -t 120 -h database -p 5432 && uvicorn titiler.pgstac.main:app --host 0.0.0.0 --port 8082"
8473
volumes:
8574
- ./dockerfiles/scripts:/tmp/scripts
8675

8776
tipg:
88-
image: ghcr.io/developmentseed/tipg:0.7.1
77+
image: ghcr.io/developmentseed/tipg:0.9.0
8978
ports:
9079
- "${MY_DOCKER_IP:-127.0.0.1}:8083:8083"
9180
environment:
92-
# Application
93-
- HOST=0.0.0.0
94-
- PORT=8083
95-
# https://github.com/tiangolo/uvicorn-gunicorn-docker#web_concurrency
96-
- WEB_CONCURRENCY=10
97-
# https://github.com/tiangolo/uvicorn-gunicorn-docker#workers_per_core
98-
# - WORKERS_PER_CORE=1
99-
# https://github.com/tiangolo/uvicorn-gunicorn-docker#max_workers
100-
# - MAX_WORKERS=10
10181
# Postgres connection
10282
- POSTGRES_USER=username
10383
- POSTGRES_PASS=password
@@ -107,14 +87,14 @@ services:
10787
- DB_MIN_CONN_SIZE=1
10888
- DB_MAX_CONN_SIZE=10
10989
command:
110-
bash -c "bash /tmp/scripts/wait-for-it.sh -t 120 -h database -p 5432 && /start.sh"
90+
bash -c "bash /tmp/scripts/wait-for-it.sh -t 120 -h database -p 5432 && uvicorn tipg.main:app --host 0.0.0.0 --port 8083"
11191
depends_on:
11292
- database
11393
volumes:
11494
- ./dockerfiles/scripts:/tmp/scripts
11595

11696
database:
117-
image: ghcr.io/stac-utils/pgstac:v0.8.5
97+
image: ghcr.io/stac-utils/pgstac:v0.9.2
11898
environment:
11999
- POSTGRES_USER=username
120100
- POSTGRES_PASSWORD=password

0 commit comments

Comments
 (0)