-
-
Notifications
You must be signed in to change notification settings - Fork 25
128 lines (100 loc) · 3.94 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
name = "btc-transmuter-system-@variant"
bin_package = "btc-transmuter"
binary = "/usr/bin/btc-transmuter"
conf_param = "--conf="
user = { group = true, create = { home = true } }
recommends = ["selfhost (>= 0.1.5)", "selfhost (<< 0.2.0)"]
summary = "A self-hosted ,modular IFTTT-inspired system for bitcoin services written in C# - service package"
add_links = [ "/usr/lib/BtcTransmuter/wwwroot/assets/logo.png /usr/share/selfhost-dashboard/apps/icons/btc-transmuter-system-{variant}/entry_main.png" ]
extra_service_config = """
Restart=always
EnvironmentFile=/etc/btc-transmuter-system-{variant}/btc-transmuter.conf
WorkingDirectory=/usr/lib/BtcTransmuter
LogsDirectory=btc-transmuter-system-{variant}
"""
[extra_groups."nbxplorer-{variant}-access-rpc"]
create = false
[databases.pgsql]
template = """
TRANSMUTER_Database=User ID=_DBC_DBUSER_;Password=_DBC_DBPASS_;Host=_DBC_DBSERVER_;Port=_DBC_DBPORT_;Database=_DBC_DBNAME_;
"""
[map_variants.http_port]
mainnet = "33000"
regtest = "33002"
[map_variants.root_path]
mainnet = "/transmuter"
regtest = "/transmuter-rt"
[map_variants.nbxplorer_network]
mainnet = "Main"
regtest = "RegTest"
[config."btc-transmuter.conf"]
format = "plain"
cat_dir = "conf.d"
cat_files = ["database"]
[config."btc-transmuter.conf".hvars."TRANSMUTER_DatabaseType"]
type = "string"
constant = "postgres"
[config."conf.d/root_path.conf"]
format = "plain"
[config."conf.d/root_path.conf".ivars.listen_port]
type = "bind_port"
default = "{http_port}"
priority = "low"
summary = "Port for BtcTransmuter {variant} to listen on"
store = false
[config."btc-transmuter.conf".hvars."ASPNETCORE_URLS"]
type = "string"
template = "http://127.0.0.1:{/listen_port}"
[config."btc-transmuter.conf".hvars."TRANSMUTER_DataProtectionDir"]
type = "string"
template = "/var/lib/btc-transmuter-system-{variant}/keys"
[config."btc-transmuter.conf".hvars."TRANSMUTER_DataProtectionApplicationName"]
type = "string"
template = "btc-transmuter"
[config."btc-transmuter.conf".hvars."TRANSMUTER_ExtensionsDir"]
type = "string"
template = "/var/lib/btc-transmuter-system-{variant}/extensions"
[config."btc-transmuter.conf".evars."nbxplorer-@variant"."port"]
store = false
[config."btc-transmuter.conf".hvars."NBXplorer_Uri"]
type = "string"
template = "http://127.0.0.1:{nbxplorer-@variant/port}"
[config."btc-transmuter.conf".hvars."NBXplorer_Cryptos"]
type = "string"
constant = "btc"
[config."btc-transmuter.conf".hvars."NBXplorer_NetworkType"]
type = "string"
template = "{variant}"
[config."btc-transmuter.conf".evars."nbxplorer-@variant".datadir]
store = false
[config."btc-transmuter.conf".hvars."NBXplorer_CookieFile"]
type = "string"
template = "{nbxplorer-@variant/datadir}/{nbxplorer_network}/.cookie"
[config."conf.d/root_path.conf".ivars.TRANSMUTER_ROOTPATH]
type = "string"
default = "{root_path}"
priority = "medium"
summary = "Web prefix of web path to BtcTransmuter"
[config."../selfhost/apps/btc-transmuter-system-{variant}.conf"]
format = "yaml"
with_header = true
external = true
[config."../selfhost/apps/btc-transmuter-system-{variant}.conf".evars."btc-transmuter-system-@variant".TRANSMUTER_ROOTPATH]
name = "root_path"
[config."../selfhost/apps/btc-transmuter-system-{variant}.conf".evars."btc-transmuter-system-@variant".listen_port]
name = "port"
[config."../../etc/selfhost-dashboard/apps/btc-transmuter-system-{variant}/meta.toml"]
format = "toml"
external = true
[config."../selfhost/apps/btc-transmuter-system-{variant}.conf".hvars.document_root]
type = "string"
constant = "/usr/lib/BtcTransmuter/wwwroot/"
[config."../../etc/selfhost-dashboard/apps/btc-transmuter-system-{variant}/meta.toml".hvars.user_friendly_name]
type = "string"
constant = "BTC Transmuter"
[config."../../etc/selfhost-dashboard/apps/btc-transmuter-system-{variant}/meta.toml".hvars.admin_only]
type = "bool"
constant = "false"
[config."../../etc/selfhost-dashboard/apps/btc-transmuter-system-{variant}/meta.toml".hvars.entry_point]
type = "uint"
constant = "{ \\\"Static\\\" = { \\\"url\\\" = \\\"/\\\" } }"