~singpolyma/sgx-jmp

ref: 7f5da6b61064fd3b0b7c80161d60a5ba8e96b504 sgx-jmp/config.dhall.sample -rw-r--r-- 2.0 KiB
7f5da6b6Stephen Paul Weber Merge branch 'customer-not-found' 1 year, 1 month 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
81
82
83
84
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"
	},
	catapult = {
		user = "",
		token = "",
		secret = "",
		application_id = "",
		domain = "",
		sip_host = ""
	},
	web_register = {
		to = "cheogram",
		from = "jmp-register@localhost"
	},
	bandwidth_site = "",
	bandwidth_peer = "",
	bandwidth_app = "", -- This can be any voice app
	braintree = {
		environment = "sandbox",
		merchant_id = "",
		public_key = "",
		private_key = "",
		merchant_accounts = {
			USD = "",
			CAD = ""
		}
	},
	xep0157 = [
		{ var = "support-addresses", value = "xmpp:+14169938000@cheogram.com", label = "Support" }
	],
	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"
}