mirror of
https://github.com/cf-sonr/radar.git
synced 2026-01-12 02:59:13 +00:00
feat: implement account, profile, network, and activity management
This commit is contained in:
59
wrangler.toml
Normal file
59
wrangler.toml
Normal file
@@ -0,0 +1,59 @@
|
||||
# Top-level configuration
|
||||
name = "motr-radar"
|
||||
main = "build/worker.mjs"
|
||||
compatibility_date = "2025-04-14"
|
||||
|
||||
routes = [
|
||||
{ pattern = "did.run", custom_domain = true },
|
||||
]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
||||
[dev]
|
||||
port = 4242
|
||||
|
||||
[observability]
|
||||
enabled = true
|
||||
|
||||
[triggers]
|
||||
crons = ["0 */1 * * *"]
|
||||
|
||||
|
||||
[[d1_databases]]
|
||||
binding = "ACTIVITY_DB"
|
||||
database_name = "motr-activity"
|
||||
database_id = "a7ccb4bb-c529-4f42-8029-92564a3aecb8"
|
||||
|
||||
[[d1_databases]]
|
||||
binding = "NETWORK_DB"
|
||||
database_name = "motr-network"
|
||||
database_id = "acb75499-3502-4052-9604-263a913e077a"
|
||||
|
||||
[[d1_databases]]
|
||||
binding = "USERS_DB"
|
||||
database_name = "motr-users"
|
||||
database_id = "8ed4d399-5932-419c-b92f-9c20d7a36ad2"
|
||||
|
||||
[[kv_namespaces]]
|
||||
binding = "SESSIONS_KV"
|
||||
id = "ea5de66fcfc14b5eba170395e29432ee"
|
||||
|
||||
[[kv_namespaces]]
|
||||
binding = "HANDLES_KV"
|
||||
id = "271d47087a8842b2aac5ee79cf7bb203"
|
||||
|
||||
[[r2_buckets]]
|
||||
binding = 'PROFILES'
|
||||
bucket_name = 'profiles'
|
||||
|
||||
[vars]
|
||||
SONR_CHAIN_ID = 'sonr-testnet-1'
|
||||
IPFS_GATEWAY = 'https://ipfs.sonr.land'
|
||||
SONR_API_URL = 'https://api.sonr.land'
|
||||
SONR_RPC_URL = 'https://rpc.sonr.land'
|
||||
SONR_GRPC_URL = 'https://grpc.sonr.land'
|
||||
MATRIX_SERVER = 'https://bm.chat'
|
||||
MOTR_GATEWAY = 'https://sonr.id'
|
||||
MOTR_VAULT = 'https://did.run'
|
||||
MOTR_MODE = 'controller'
|
||||
Reference in New Issue
Block a user