init project

This commit is contained in:
admin committed 2026-11-11 17:49:38 +08:00
1 parent d63cc8d9f5
commit ee07869839
39 files changed
+1560 -622

No files matched your search

+39
View File
@@ -0,0 +1,39 @@
app:
name: micro_layout
env: local
server:
addr: ":50112"
reflection: false
shutdown_timeout: 10s
log:
level: info
registry:
service_name: micro.micro_layout
advertise_addr: ""
lease_ttl: 10
etcd:
endpoints:
- 127.0.0.1:2379
dial_timeout: 5s
storage:
mysql:
enabled: false
show_sql: false
max_open_conn: 10
max_idle_conn: 5
conn_max_lifetime: 1h
connect_timeout: 5s
redis:
enabled: false
addr: 127.0.0.1:6379
db: 0
connect_timeout: 5s
jetstream:
enabled: false
addr: nats://127.0.0.1:4222
connect_timeout: 5s