dev: hotfix, config example adjustments

This commit is contained in:
2025-12-17 22:03:48 +07:00
parent ae5f1b13a1
commit 88590db60d
9 changed files with 255 additions and 115 deletions
+50
View File
@@ -0,0 +1,50 @@
appCfg:
fullName: SIMRS Sync
codeName: simrs-sync
version: 0.1.0
env: development
lang: en
httpCfg:
host: 127.0.0.1
port: 8009
loggerCfg:
hideTime: true
hideLevel: true
langCfg:
active: en
path: ../../assets/language/en
fileName: data.json
dbCfg:
dsn: host=simrs-x-main-db user=user password=password dbname=simrs-sync port=5439 sslmode=disable TimeZone=Asia/Jakarta
maxOpenConns: 5
maxIdleConns: 5
maxIdleTime: 100
multiDbCfg:
dbs :
- name: simrs
dsn: postgres://simrs:rssajaya@10.10.123.249/simrs?sslmode=disable
maxOpenConns: 5
maxIdleConns: 5
maxIdleTime: 100
- name: satu
dsn: postgres://postgres:satu_dev@10.10.123.199:5023/satu_db?sslmode=disable
maxOpenConns: 5
maxIdleConns: 5
maxIdleTime: 100
corsCfg:
allowedOrigin:
allowedMethod: GET, POST, PUT, PATCH, DELETE, OPTIONS
syncPartnerCfg:
oldSource
oldSecretKey
oldHost
newSource
newSecretKey
newHost