ultone/etc/config.json
2024-07-26 17:59:02 +08:00

29 lines
633 B
JSON

{
"name": "ult",
"listen": {
"http": "0.0.0.0:8080",
"unix": "unix://./dev.sock"
},
"db": {
"_uri": "postgres::host=pg.dev user=xx_user password=xx_password dbname=xx_database port=5432 sslmode=disable TimeZone=Asia/Shanghai",
"uri": "sqlite::db.sqlite3"
},
"cache": {
"uri": "lru::",
"_uri": "memory::",
"__uri": "redis::u:p@redis.dev:6379"
},
"es": {
"uri": "http://es.dev:9200",
"index": {
"staff": "some_staff"
}
},
"nebula": {
"uri": "nebula.1.dev:9669,nebula.2.dev:9669",
"space": "test_space",
"username": "admin",
"password": "password"
}
}