Skip to content

Commit 1ded5a5

Browse files
authored
fix: increase wait timeout to 60 seconds (#529)
1 parent edc97e9 commit 1ded5a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ services:
8888
- ./stac_fastapi:/app/stac_fastapi
8989
- ./scripts:/app/scripts
9090
command: >
91-
bash -c "./scripts/wait-for-it.sh app-sqlalchemy:8081 && cd stac_fastapi/sqlalchemy && alembic upgrade head && python /app/scripts/ingest_joplin.py http://app-sqlalchemy:8081"
91+
bash -c "./scripts/wait-for-it.sh app-sqlalchemy:8081 -t 60 && cd stac_fastapi/sqlalchemy && alembic upgrade head && python /app/scripts/ingest_joplin.py http://app-sqlalchemy:8081"
9292
depends_on:
9393
- database
9494
- app-sqlalchemy
@@ -103,6 +103,8 @@ services:
103103
- ./scripts:/app/scripts
104104
command:
105105
- "./scripts/wait-for-it.sh"
106+
- "-t"
107+
- "60"
106108
- "app-pgstac:8082"
107109
- "--"
108110
- "python"

0 commit comments

Comments
 (0)