Files
go-caatsm/configs/config.dev.toml
T

36 lines
593 B
TOML
Raw Normal View History

2024-07-22 12:42:30 +08:00
[nats]
url = "nats://localhost:4222"
client = "serial-client"
cluster = "tele-cluster"
stream = "TELEGRAM"
consumer = "telegram-consumer"
2024-07-22 12:42:30 +08:00
[subscription]
topic = "Telegram.Serial"
queue = "tele-queue"
2024-08-12 17:47:34 +08:00
[publisher]
topic = "Telegram.Json"
2024-07-22 12:42:30 +08:00
[timeouts]
server = "5s"
reconnect_wait = "5s"
close = "10s"
ack_wait = "5s"
[postgres]
url = "postgres://user:password@localhost:5432/aviation?sslmode=disable"
max_conns = 10
min_conns = 2
[app]
batch_size = 50
batch_timeout = "2s"
[log]
level = "info"
format = "json"
[hasura]
endpoint = "http://localhost:8080/v1/graphql"
secret = "aviation-test"