summaryrefslogtreecommitdiffstats
path: root/config/config.json
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-07-12 14:56:44 -0800
committer=Corey Hulen <corey@hulen.com>2015-07-12 14:56:44 -0800
commit1c493317857e729597bb59fc0878b49106257582 (patch)
tree9c69d95de082e22279b30d66034e20cb1e9875c3 /config/config.json
parent95b9f872882b367556ca2330eea8c8309db542e6 (diff)
downloadchat-1c493317857e729597bb59fc0878b49106257582.tar.gz
chat-1c493317857e729597bb59fc0878b49106257582.tar.bz2
chat-1c493317857e729597bb59fc0878b49106257582.zip
Fixes mm-1420 adding postgres support
Diffstat (limited to 'config/config.json')
-rw-r--r--config/config.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/config.json b/config/config.json
index b0a019e8d..b4cac09f1 100644
--- a/config/config.json
+++ b/config/config.json
@@ -23,9 +23,9 @@
"AnalyticsUrl": ""
},
"SqlSettings": {
- "DriverName": "mysql",
- "DataSource": "mmuser:mostest@tcp(dockerhost:3306)/mattermost_test",
- "DataSourceReplicas": ["mmuser:mostest@tcp(dockerhost:3306)/mattermost_test"],
+ "DriverName": "postgres",
+ "DataSource": "postgres://mmuser:password@localhost:5432/mattermost_test?sslmode=disable&connect_timeout=10",
+ "DataSourceReplicas": ["postgres://mmuser:password@localhost:5432/mattermost_test?sslmode=disable&connect_timeout=10"],
"MaxIdleConns": 10,
"MaxOpenConns": 10,
"Trace": false,