Skip to content

Commit 8eb8710

Browse files
committed
Remove wait-for-it.sh from docker-compose.sample.yml
1 parent 04c5f2c commit 8eb8710

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose.sample.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ services:
4949
db:
5050
condition: service_healthy
5151
restart: true
52-
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"
52+
command: bash -c "uvicorn stac_fastapi.pgstac.app:app --host 0.0.0.0 --port 8881"
5353
volumes:
5454
- ./adjacent-servers/docker-scripts:/tmp/scripts
5555
- ./Missions:/Missions
@@ -76,7 +76,7 @@ services:
7676
- POSTGRES_PORT=5432
7777
- DB_MIN_CONN_SIZE=1
7878
- DB_MAX_CONN_SIZE=10
79-
command: bash -c "bash /tmp/scripts/wait-for-it.sh -t 120 -h db -p 5432 && /start.sh"
79+
command: bash -c "/start.sh"
8080
depends_on:
8181
mmgis:
8282
condition: service_healthy
@@ -184,7 +184,7 @@ services:
184184
db:
185185
condition: service_healthy
186186
restart: true
187-
command: bash -c "bash /tmp/scripts/wait-for-it.sh -t 120 -h db -p 5432 && /start.sh"
187+
command: bash -c "/start.sh"
188188
volumes:
189189
- ./Missions:/Missions
190190
- ./adjacent-servers/docker-scripts:/tmp/scripts

0 commit comments

Comments
 (0)