Skip to content

Commit 53484ad

Browse files
Update docker-compose.v1-sample.yml
1 parent d4caace commit 53484ad

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docker-compose.v1-sample.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ services:
2828
- DB_MAX_CONN_SIZE=1
2929
depends_on:
3030
- db
31-
command: bash -c "bash /tmp/scripts/wait-for-it.sh -t 120 -h db -p 5432 && uvicorn stac_fastapi.pgstac.app:app --host 0.0.0.0 --port 8881"
31+
command: bash -c "uvicorn stac_fastapi.pgstac.app:app --host 0.0.0.0 --port 8881"
3232
volumes:
33-
- ./adjacent-servers/docker-scripts:/tmp/scripts
3433
- ./Missions:/Missions
3534

3635
tipg:
@@ -56,11 +55,10 @@ services:
5655
- POSTGRES_PORT=5432
5756
- DB_MIN_CONN_SIZE=1
5857
- DB_MAX_CONN_SIZE=10
59-
command: bash -c "bash /tmp/scripts/wait-for-it.sh -t 120 -h db -p 5432 && /start.sh"
58+
command: bash -c "/start.sh"
6059
depends_on:
6160
- db
6261
volumes:
63-
- ./adjacent-servers/docker-scripts:/tmp/scripts
6462
- ./Missions:/Missions
6563

6664
titiler:
@@ -156,10 +154,9 @@ services:
156154
- TITILER_PGSTAC_SEARCH_SKIPCOVERED=FALSE
157155
depends_on:
158156
- db
159-
command: bash -c "bash /tmp/scripts/wait-for-it.sh -t 120 -h db -p 5432 && /start.sh"
157+
command: bash -c "/start.sh"
160158
volumes:
161159
- ./Missions:/Missions
162-
- ./adjacent-servers/docker-scripts:/tmp/scripts
163160

164161
db:
165162
image: postgis/postgis:16-3.4-alpine

0 commit comments

Comments
 (0)