draft
This commit is contained in:
41
backend/configs/config.yaml
Normal file
41
backend/configs/config.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
server:
|
||||
port: 8080
|
||||
read_timeout: 30s
|
||||
write_timeout: 30s
|
||||
|
||||
database:
|
||||
dsn: "${DB_DSN}"
|
||||
max_open_conns: 50
|
||||
max_idle_conns: 10
|
||||
conn_max_lifetime: 1h
|
||||
|
||||
redis:
|
||||
addr: "${REDIS_ADDR}"
|
||||
password: "${REDIS_PASS}"
|
||||
db: 0
|
||||
pool_size: 20
|
||||
|
||||
security:
|
||||
field_encrypt_key: "${FIELD_ENCRYPT_KEY}"
|
||||
app_secret_salt: "${APP_SECRET_SALT}"
|
||||
|
||||
notify:
|
||||
poller_interval: 5s
|
||||
poller_batch: 100
|
||||
http_timeout: 10s
|
||||
|
||||
reconciliation:
|
||||
cron: "0 2 * * *"
|
||||
bill_retry_times: 3
|
||||
|
||||
merchant:
|
||||
status_check_cron: "0 9 * * *"
|
||||
|
||||
log:
|
||||
level: "info"
|
||||
format: "json"
|
||||
|
||||
channels:
|
||||
heepay:
|
||||
pay_url: "https://openapi.heepay.com/gateway"
|
||||
merchant_url: "https://openapi.heepay.com/v1/customer/gateway"
|
||||
Reference in New Issue
Block a user