cic-dw/config.toml
Mohamed Sohail 77f127e14a
feat: add admin/auth api (#22)
* feat: add admin/auth api

- jwt cookie based auth
- /auth
- admin/*

* add: meta proxy

* fix: remove ussd account status from syncer

* add: cookie defaults and nuxt init check route

* add: pin and address handlers
2022-06-02 11:24:58 +03:00

34 lines
660 B
TOML

[db]
postgres = "postgresql://postgres:postgres@127.0.0.1:5432/cic_dw"
redis = "redis://127.0.0.1:6379/0"
[server]
address = ":3000"
cors = [
"https://dashboard.sarafu.network",
"https://dashboard.grassecon.org",
"https://dashboard.grassrootseconomics.org",
"http://localhost:3000"
]
[chain]
index = "0x5A1EB529438D8b3cA943A45a48744f4c73d1f098"
balances_resolver = "0xb9e215B789e9Ec6643Ba4ff7b98EA219F38c6fE5"
rpc = "http://127.0.0.1:8545"
[syncer]
enabled = true
[api]
enabled = true
[syncers]
cache = "@every 20s"
ussd = "@every 30s"
token = "@every 1m"
[meta]
endpoint = "http://cic-meta-server:8000"
[jwt]
secret = "0xd34db33f"