Skip to content

Commit

Permalink
wait for a longer time for sql server
Browse files Browse the repository at this point in the history
  • Loading branch information
XIELongDragon committed Oct 6, 2024
1 parent c67d4a0 commit 66344bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
POSTGRES_VERSION=9
MYSQL_VERSION=5.7
SQLSERVER_VERSION=2017-latest
GO_VERSION=1.19
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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", "--", "./go.test.sh"]
command: ["./wait-for-it.sh", "postgres:5432", "--", "./wait-for-it.sh", "mysql:3306", "--", "./wait-for-it.sh", "sqlserver:1433", "-t 60", "--", "./go.test.sh"]
working_dir: /go/src/github.com/doug-martin/goqu
volumes:
- "./:/go/src/github.com/doug-martin/goqu"
Expand Down

0 comments on commit 66344bb

Please sign in to comment.