-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yml
53 lines (52 loc) · 1.88 KB
/
config.yml
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
# Server configurations
#
# DEVS:
# IF DEFAULTS ARE NEEDED OR CHANGED, UPDATE `config/config.go`
#
server:
enabled: true # enable the GRPC/HTTP/websocket server
grpc_addr: 127.0.0.1:8881 #IP:port for GRPC
http_addr: 127.0.0.1:8882 #IP:port for HTTP/websocket
http_did_addr: 127.0.0.1:8883 #IP:port for HTTP DIDComm
client_addr: 127.0.0.1:8080
sql:
connection_string: file:/Users/imp/.imp/sender-copy/imp.db?_auth&_auth_user=admin&_auth_pass=supersecretpassword&_auth_crypt=sha256 # replace with your SQL configs
type: sqlite3
# for mysql:
#connection_string: "root:password@(localhost:52000)/impervious" # replace with db configs
#type: mysql
did:
universal_resolver_urls:
- https://resolver.impervious.live/1.0/identifiers/
###### DO NOT EDIT THE BELOW SECTION#####
# Services
service_list:
- service_type: relay
active: false
custom_message_type: https://didcomm.org/routing/2.0
additional_service_data: null
- service_type: relay-registration
active: true
custom_message_type: https://impervious.ai/didcomm/relay-registration/1.0
additional_service_data: null
###### DO NOT EDIT THE ABOVE SECTION#####
# Lightning
lightning:
lnd_node:
ip: #IP of your LND node
port: #GRPC port of your LND node
pub_key: #get your LND pubkey with "lncli getinfo"
tls_cert: #/path/to/tls.cert
tls_cert_hex: # can use hex encoding cert instead of file
admin_macaroon: #/path/to/admin.macaroon
admin_macaroon_hex: # can use hex encoded macaroon instead of file
listening: false # turn on if you would like to use LND
kv:
db_file: ~/.imp/kv.db #Directory for Key Value store, if not default (~/.imp/kv.db)
ion:
url: http://localhost:3000 #Url for the ION node
active: true # turn on if you would like to use ION
log:
ignore_file_write: false # Whether or not the logs save to disk
key:
# passphrase: test # Leave empty if initializing for the first time