~singpolyma/sgx-jmp

ref: d8cb419335c19fbb3cf487e3dfb2e00697c2d55b sgx-jmp/config.dhall.sample -rw-r--r-- 1.9 KiB
d8cb4193Stephen Paul Weber Move Bandwidth Tn remote operations to BandwidthTnRepo 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
let ListenOn = < Inet: { interface: Text, port: Natural } | Unix: Text >
in
{
	component = {
		jid = "component.localhost",
		secret = "secret"
	},
	server = {
		host = "localhost",
		port = 5347
	},
	sgx = "component2.localhost",
	web = ListenOn.Inet { interface = "::1", port = env:PORT ? 8080 },
	web_root = "https://example.com",
	ogm_path = "/var/www/media.example.com",
	ogm_web_root = "https://media.example.com",
	creds = {
		account = "00000",
		username = "dashboard user",
		password = "dashboard password"
	},
	web_register = {
		to = "cheogram",
		from = "jmp-register@localhost"
	},
	bandwidth_site = "",
	bandwidth_peer = "",
	braintree = {
		environment = "sandbox",
		merchant_id = "",
		public_key = "",
		private_key = "",
		merchant_accounts = {
			USD = "",
			CAD = ""
		}
	},
	xep0157 = [
		{ var = "support-addresses", value = "xmpp:+14169938000@cheogram.com", label = "Support" }
	],
	sip = {
		realm = "",
		app = ""
	},
	notify_admin = "muc@example.com",
	sip_host = "sip.jmp.chat",
	plans = [
		{
			name = "plan_name",
			currency = < CAD | USD >.USD,
			monthly_price = 29900,
			minutes = <
				unlimited |
				limited: { included: Natural, price: Natural }
			>.limited { included = 120, price = 87 },
			messages = <
				unlimited |
				limited: { included: Natural, price: Natural }
			>.unlimited
		}
	],
	electrum = {
		rpc_uri = "",
		rpc_username = "",
		rpc_password = ""
	},
	oxr_app_id = "",
	activation_amount = 15,
	credit_card_url = \(jid: Text) -> \(customer_id: Text) ->
		"https://pay.jmp.chat/${jid}/credit_cards?customer_id=${customer_id}",
	electrum_notify_url = \(address: Text) -> \(customer_id: Text) ->
		"https://pay.jmp.chat/electrum_notify?address=${address}&customer_id=${customer_id}",
	adr = "",
	interac = "",
	payable = "",
	notify_from = "+15551234567@example.net",
	admins = ["test\\40example.com@example.net"],
	upstream_domain = "example.net",
	approved_domains = toMap { `example.com` = Some "customer_id" }
}