config/mysql: create database by default, use swaf user with password swaf by default, don't create database in production
This commit is contained in:
parent
8ae520aa07
commit
b59e053cad
@ -37,10 +37,10 @@
|
|||||||
mysql: {
|
mysql: {
|
||||||
connectionLimit: 10,
|
connectionLimit: 10,
|
||||||
host: "127.0.0.1",
|
host: "127.0.0.1",
|
||||||
user: "root",
|
user: "swaf",
|
||||||
password: "",
|
password: "swaf",
|
||||||
database: "swaf",
|
database: "swaf",
|
||||||
create_database_automatically: false,
|
create_database_automatically: true,
|
||||||
},
|
},
|
||||||
redis: {
|
redis: {
|
||||||
host: "127.0.0.1",
|
host: "127.0.0.1",
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
secure: true,
|
secure: true,
|
||||||
allow_invalid_tls: false,
|
allow_invalid_tls: false,
|
||||||
},
|
},
|
||||||
|
mysql: {
|
||||||
|
create_database_automatically: false,
|
||||||
|
},
|
||||||
session: {
|
session: {
|
||||||
cookie: {
|
cookie: {
|
||||||
secure: true,
|
secure: true,
|
||||||
|
@ -3,9 +3,6 @@
|
|||||||
approval_mode: true,
|
approval_mode: true,
|
||||||
},
|
},
|
||||||
mysql: {
|
mysql: {
|
||||||
host: "127.0.0.1",
|
|
||||||
user: "root",
|
|
||||||
password: "",
|
|
||||||
database: "swaf_test",
|
database: "swaf_test",
|
||||||
create_database_automatically: true,
|
create_database_automatically: true,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user