feat(ops/site-mappings): wire site domain mapping routes and monitoring DB

Register site-domain-mappings CRUD endpoints under the authenticated ops
router, add a monitoring_database config block (falling back to the main
ops database when unset) for the service to share the monitoring pool.
This commit is contained in:
2026-04-29 16:02:11 +08:00
parent 7ab9a64a0f
commit 9760bec8bd
4 changed files with 38 additions and 7 deletions
+10
View File
@@ -12,6 +12,16 @@ database:
max_open_conns: 10
max_idle_conns: 2
monitoring_database:
host: postgres
port: 5432
user: geo
password: geo_dev
dbname: geo_monitoring
sslmode: disable
max_open_conns: 10
max_idle_conns: 2
log:
level: info
format: json