aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.json.sample
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2018-01-28 21:22:52 -0800
committerAdam Soltys <[email protected]>2018-01-28 21:22:52 -0800
commit0feb98d1b31acca2a24e9c253a06e45cf4ee3e63 (patch)
treec0e888d52dfdc8316875469fcf178371d6ee7f2a /config/config.json.sample
parent5e19d99e48b9c323ecf3795ea77f1e7e7885e4f5 (diff)
downloadcoinos-server-0feb98d1b31acca2a24e9c253a06e45cf4ee3e63.tar.gz
coinos-server-0feb98d1b31acca2a24e9c253a06e45cf4ee3e63.zip
ignore config
Diffstat (limited to 'config/config.json.sample')
-rw-r--r--config/config.json.sample41
1 files changed, 41 insertions, 0 deletions
diff --git a/config/config.json.sample b/config/config.json.sample
new file mode 100644
index 00000000..0b6e4918
--- /dev/null
+++ b/config/config.json.sample
@@ -0,0 +1,41 @@
+{
+ "development": {
+ "username": "user",
+ "password": "pass",
+ "database": "db",
+ "host": "localhost",
+ "dialect": "mysql"
+ },
+ "test": {
+ "username": "root",
+ "password": null,
+ "database": "database_test",
+ "host": "127.0.0.1",
+ "dialect": "mysql"
+ },
+ "production": {
+ "username": "root",
+ "password": null,
+ "database": "database_production",
+ "host": "127.0.0.1",
+ "dialect": "mysql"
+ },
+ "auto": {
+ "host": "localhost",
+ "dialect": "mysql",
+ "tables": ["Users"],
+ "logging": false,
+ "directory": false,
+ "dialectOptions": {
+ "timeout": 500000,
+ "multipleStatements": true
+ },
+ "pool": {
+ "min": 0,
+ "max": 25
+ },
+ "retry": {
+ "max": 5
+ }
+ }
+}