feat 初次提交

This commit is contained in:
2026-01-03 14:26:08 +08:00
parent ebeb244e1e
commit 887cb242e3
30 changed files with 1918 additions and 0 deletions

42
config/config.dev.yaml Normal file
View File

@@ -0,0 +1,42 @@
app:
name: "gateway-dev"
log:
debug: true
level: "debug"
maxSize: 10
maxBackups: 100
maxAge: 7
metric:
prometheus:
address: "0.0.0.0"
port: 8504
db:
etcd:
endpoints: [ "10.0.40.9:2379" ]
redis:
addr: "47.108.184.184:6379"
password: "lQ7aM8oB6lK0iD5k"
db: 0
serve:
grpc:
address: "10.0.40.199"
port: 8500
ttl: 20
socket:
web:
address: "0.0.0.0"
port: 8501
raw:
address: "0.0.0.0"
port: 8502
http:
address: "0.0.0.0"
port: 8503
auth:
secret: "bMa3mU4oCsX2KBex5o7GzwSnACpumFq3SdlDXYZgVTU="
expire: 259200