Skip to content

Commit

Permalink
set WAITFORIT_TIMEOUT to 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
XIELongDragon committed Oct 6, 2024
1 parent 66344bb commit 337b1f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,15 @@ 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"
environment:
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
Expand Down

0 comments on commit 337b1f3

Please sign in to comment.