Config service

This commit is contained in:
2025-12-13 14:20:52 +08:00
parent f8119be171
commit b9a97c67e2
3 changed files with 150 additions and 0 deletions

12
pkg/config/settings.toml Normal file
View File

@@ -0,0 +1,12 @@
# The address the config service will listen on
listen = ":8081"
# The host address to register with etcd.
# This should be the address that other services can use to reach this service.
# For local testing, 127.0.0.1 is fine. In production, this should be a reachable IP.
host = "127.0.0.1"
# ETCD configuration for service registration
[etcd]
endpoints = ["etcd.orb.local:2379"]
insecure = true