Add DB and redis configuration

This commit is contained in:
Alice Gaudon 2020-04-25 09:39:25 +02:00
parent 4dbfb8a714
commit 80053ed932
2 changed files with 17 additions and 0 deletions

View File

@ -1,2 +1,15 @@
export default Object.assign(require("wms-core/config/default").default, {
mysql: {
connectionLimit: 10,
host: "localhost",
user: "root",
password: "",
database: "aldap",
create_database_automatically: false
},
redis: {
host: "127.0.0.1",
port: 6379,
prefix: 'aldap'
}
});

View File

@ -1,2 +1,6 @@
export default Object.assign(require("wms-core/config/test").default, {
mysql: {
database: "aldap_test",
create_database_automatically: true
},
});