software:
env: ${SOFTWARE_ENV:dev}
webPrefix: "/ruweb/v3"
projectName: web
logLevel: INFO corp: ${CORP:weicht.akunlong.top}
author: raymond@163.com
encKey: ${ENC_KEY:my-32-byte-11secret-key-123456!!}
etcd:
url: ${ETCD_HOSTURL:192.168.1.153:2379}
timeout: 10 nats:
url: ${NATS_URL:nats://192.168.1.153:14222}
timeout: ${NATS_TIMEOUT:10} subscribe:
topicSync: general_sync.*
topicAsync: general_async.*
redis:
enable: true
db: ${REDIS_DB:11}
addr: "huawei.akunlong.top:6379"
password: "enc(qdW8ssqb9GmWO+cmyu+TtYUSHc0TvzPB0rgzEqQxvYHBow==)"
gorm: debug: ${DB_DEBUG:true}
dbType: ${DB_TYPE:postgres}
enable: ${DB_ENABLE:true}
maxIdletime: 900 maxLifetime: 7200 maxOpenConns: 150
maxIdleConns: 50
datasource: datasource
datasource:
dbtype: postgres
dbname: ${DB_NAME:train-dev}
host: ${DB_HOST:192.168.1.153}
port: ${DB_PORT:5432}
username: ${DB_USER:postgres}
password: ${DB_PASSWORD:enc(hS9FEVVo641JakohMtcd26QOs0pf87385SpBDwKqp/m82S2COkiphLUJnVA=)}
sslmode: ${DB_SSLMODE:disable}
charset: utf8
postgres:
dbtype: postgres
dbname: ${DB_NAME:train-dev}
host: ${DB_HOST:erp.akunlong.top}
port: ${DB_PORT:15432}
username: ${DB_USER:postgres}
password: ${DB_PASSWORD:enc(hS9FEVVo641JakohMtcd26QOs0pf87385SpBDwKqp/m82S2COkiphLUJnVA=)}
sslmode: ${DB_SSLMODE:disable}
charset: utf8
mysql:
dbtype: mysql
dbname: ${DB_NAME:hrms}
host: ${DB_HOST:erp.akunlong.top}
port: ${DB_PORT:13306}
username: ${DB_USER:root}
password: ${DB_PASSWORD:enc(ELvfytACZJU9w0XL9+XIeNxRSfS9VHrzbxXc+VDItl4=)}
sslmode: ${DB_SSLMODE:disable}
charset: utf8
web:
server:
enable: true
name: ${WEB_SERVER_HOST:ruweb.akunlong.top}
port: 6001
title: ${WEB_SERVER_TITLE:WebServer}
ver: latest
whiteListApi:
- "/"
- "/login"
- "/logout"
- "/captchaImage"
client:
name: ${WEB_CLIENT_HOST:ruweb.akunlong.top}
testUrl: ${ICHUB_TESTURL:http://localhost:6001}
enableTestUrl: true
webTimeout: ${WEB_TIMEOUT:30}
rpc:
enable: false
serverName: rurpc.akunlong.com
serverPort: ${WEBSITE_RPC_PORT:6201}
version: "latest"