From 337b1f34cfb7ff86af7411255122317d387e099e Mon Sep 17 00:00:00 2001 From: xielong Date: Sun, 6 Oct 2024 21:29:17 +0800 Subject: [PATCH] set WAITFORIT_TIMEOUT to 60s --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index c1a4afd..86d1b0b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -34,7 +34,7 @@ services: goqu: image: "golang:${GO_VERSION}" - command: ["./wait-for-it.sh", "postgres:5432", "--", "./wait-for-it.sh", "mysql:3306", "--", "./wait-for-it.sh", "sqlserver:1433", "-t 60", "--", "./go.test.sh"] + command: ["./wait-for-it.sh", "postgres:5432", "--", "./wait-for-it.sh", "mysql:3306", "--", "./wait-for-it.sh", "sqlserver:1433", "--", "./go.test.sh"] working_dir: /go/src/github.com/doug-martin/goqu volumes: - "./:/go/src/github.com/doug-martin/goqu" @@ -42,6 +42,7 @@ services: MYSQL_URI: 'root@tcp(mysql:3306)/goqumysql?parseTime=true' PG_URI: 'postgres://postgres:@postgres:5432/goqupostgres?sslmode=disable' SQLSERVER_URI: 'sqlserver://sa:qwe123QWE@sqlserver:1433?database=master&connection+timeout=30' + WAITFORIT_TIMEOUT: 60 depends_on: - postgres - mysql