diff --git a/conf/config-sample.yaml b/conf/config-sample.yaml index 4a3daa0..f244234 100644 --- a/conf/config-sample.yaml +++ b/conf/config-sample.yaml @@ -1,8 +1,8 @@ --- # Environment environment: - stage: "DEVELOPMENT" # DEVELOPMENT, TEST, STAGING, PRODUCTION - runTestEnvironment: ["DEVELOPMENT"] + stage: "DEVELOPMENT" # LOCAL, DEVELOPMENT, TEST, STAGING, PRODUCTION + runTestEnvironment: ["LOCAL", "DEVELOPMENT", "TEST"] # Applications applications: @@ -59,30 +59,6 @@ databases: maxIdleConns: 10 maxOpenConns: 10 logMode: true # shoud be "false" on production - logDB: - connectionName: "db-log" - driver: "mysql" # mysql, postgres, sqlserver, sqlite3 - # mysql - username: "d3ta" - password: "d3ta" - hostName: "127.0.0.1:3306" # hostname:port OR path - dbName: "a_d3ta_logs" - config: "charset=utf8&parseTime=True&loc=Local" - maxIdleConns: 10 - maxOpenConns: 10 - logMode: true # shoud be "false" on production - emailDB: - connectionName: "db-email" - driver: "mysql" # mysql, postgres, sqlserver, sqlite3 - # mysql - username: "d3ta" - password: "d3ta" - hostName: "127.0.0.1:3306" # hostname:port OR path - dbName: "a_d3ta_email" - config: "charset=utf8&parseTime=True&loc=Local" - maxIdleConns: 10 - maxOpenConns: 10 - logMode: true # shoud be "false" on production # IAM IAM: @@ -104,14 +80,6 @@ IAM: defaultEnforcerID: "default-casbin-enforcer" systemEnforcerID: "system-casbin-enforcer" -# securities -securities: - captcha: - keyLong: 4 - imgWidth: 120 - imgHeight: 40 - imgUrl: "http://%s/system/captcha/image/%s.png" - # Directory Locations dirLocations: conf: "./conf"