Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
XIELongDragon committed Oct 6, 2024
1 parent a7b7d08 commit d7274f2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,33 +30,33 @@ services:
expose:
- "1433"
ports:
- "1403:1433"
- "1401:1433"

goqu:
image: "golang:${GO_VERSION}"
command: ["./wait-for-it.sh", "postgres:5432", "--", "./wait-for-it.sh", "mysql:3306", "--", "./wait-for-it.sh", "sqlserver:1403", "--", "./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:1403?database=master&connection+timeout=30'
SQLSERVER_URI: 'sqlserver://sa:qwe123QWE@sqlserver:1433?database=master&connection+timeout=30'
WAITFORIT_TIMEOUT: 60
depends_on:
- postgres
- mysql
- sqlserver
goqu-coverage:
image: "golang:${GO_VERSION}"
command: ["./wait-for-it.sh", "postgres:5432", "--", "./wait-for-it.sh", "mysql:3306", "--", "./wait-for-it.sh", "sqlserver:1403", "--", "./go.coverage.sh"]
command: ["./wait-for-it.sh", "postgres:5432", "--", "./wait-for-it.sh", "mysql:3306", "--", "./wait-for-it.sh", "sqlserver:1433", "--", "./go.coverage.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:1403?database=master&connection+timeout=30'
SQLSERVER_URI: 'sqlserver://sa:qwe123QWE@sqlserver:1433?database=master&connection+timeout=30'
depends_on:
- postgres
- mysql
Expand Down

0 comments on commit d7274f2

Please sign in to comment.