config.dhall.sample

 1{
 2	component = {
 3		jid = "component.localhost",
 4		secret = "secret"
 5	},
 6	server = {
 7		host = "localhost",
 8		port = 5347
 9	},
10	sgx = "component2.localhost",
11	creds = {
12		account = "00000",
13		username = "dashboard user",
14		password = "dashboard password"
15	},
16	catapult = {
17		user = "",
18		token = "",
19		secret = "",
20		application_id = "",
21		domain = "",
22		sip_host = ""
23	},
24	web_register = {
25		to = "cheogram",
26		from = "jmp-register@localhost"
27	},
28	bandwidth_site = "",
29	bandwidth_peer = "",
30	braintree = {
31		environment = "sandbox",
32		merchant_id = "",
33		public_key = "",
34		private_key = "",
35		merchant_accounts = {
36			USD = "",
37			CAD = ""
38		}
39	},
40	xep0157 = [
41		{ var = "support-addresses", value = "xmpp:+14169938000@cheogram.com", label = "Support" }
42	],
43	notify_admin = "muc@example.com",
44	sip_host = "sip.jmp.chat",
45	plans = [
46		{
47			name = "plan_name",
48			currency = < CAD | USD >.USD,
49			monthly_price = 29900,
50			minutes = <
51				unlimited |
52				limited: { included: Natural, price: Natural }
53			>.limited { included = 120, price = 87 },
54			messages = <
55				unlimited |
56				limited: { included: Natural, price: Natural }
57			>.unlimited
58		}
59	],
60	electrum = {
61		rpc_uri = "",
62		rpc_username = "",
63		rpc_password = ""
64	},
65	oxr_app_id = "",
66	activation_amount = 15,
67	credit_card_url = \(jid: Text) -> \(customer_id: Text) ->
68		"https://pay.jmp.chat/${jid}/credit_cards?customer_id=${customer_id}",
69	electrum_notify_url = \(address: Text) -> \(customer_id: Text) ->
70		"https://pay.jmp.chat/electrum_notify?address=${address}&customer_id=${customer_id}",
71	adr = "",
72	interac = "",
73	payable = "",
74	notify_from = "+15551234567@example.net",
75	admins = ["test\\40example.com@example.net"],
76	upstream_domain = "example.net"
77}