add docker-compose for local testing

This commit is contained in:
Nandor Kracser
2019-08-03 15:02:54 +02:00
parent e1a45ba33e
commit 5b7a664e9d
3 changed files with 70 additions and 1 deletions

View File

@@ -270,7 +270,7 @@ func TestMySQL(t *testing.T) {
NetworkDB: NetworkDB{
Database: getenv("DEX_MYSQL_DATABASE", "mysql"),
User: getenv("DEX_MYSQL_USER", "mysql"),
Password: getenv("DEX_MYSQL_PASSWORD", ""),
Password: getenv("DEX_MYSQL_PASSWORD", "mysql"),
Host: host,
Port: uint16(port),
ConnectionTimeout: 5,