-
Notifications
You must be signed in to change notification settings - Fork 1
/
sample.env
63 lines (54 loc) · 1.89 KB
/
sample.env
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
#Consensus Parameters
NUM_SLOTS_IN_EPOCH=7140
#API settings
API_PORT=8080
#Recency Checker - list of nodes to compare tip
CHECK_NODES=http://MYNODE1.com,http://SOMENODE2.com,http://SOMENODE3.com,http://SOMENODE4.com,http://SOMENODE5.com
#Ledger File settings
LEDGER_API_USER=<basic_auth_user_for_api>
LEDGER_API_PASSWORD=<basic_auth_password_for_api>
#Archive Database QUERY settings
BLOCK_DB_QUERY_USER=postgres
BLOCK_DB_QUERY_PASSWORD=
BLOCK_DB_QUERY_HOST=db
BLOCK_DB_QUERY_PORT=5432
BLOCK_DB_QUERY_NAME=archive
BLOCK_DB_QUERY_REQUIRE_SSL=true
#database version: v1 = mainnet; v2 = berkeley
BLOCK_DB_VERSION="v1"
#Staking Ledger QUERY Database settings
LEDGER_DB_QUERY_USER=postgres
LEDGER_DB_QUERY_PASSWORD=
LEDGER_DB_QUERY_HOST=
LEDGER_DB_QUERY_PORT=5432
LEDGER_DB_QUERY_NAME=stakes
LEDGER_DB_QUERY_REQUIRE_SSL=true
#Staking Ledger COMMAND Database settings
LEDGER_DB_COMMAND_USER=postgres
LEDGER_DB_COMMAND_PASSWORD=
LEDGER_DB_COMMAND_HOST=
LEDGER_DB_COMMAND_PORT=5432
LEDGER_DB_COMMAND_NAME=stakes
LEDGER_DB_COMMAND_REQUIRE_SSL=true
#Database connection certificates
BLOCK_DB_QUERY_CERTIFICATE="-----BEGIN CERTIFICATE-----
LKJASLDFKJASLDKFJASDLFKJASDLFKASJDFLKASJDFLASKDJFASLDKFJASLDFKJA
LKJASLDFKJASLDKFJASDLFKJASDLFKASJDFLKASJDFLASKDJFASLDKFJASLDFKJA
LKJASLDFKJASLDKFJASDLFKJASDLFKASJDFLKASJDFLASKDJFASLDKFJASLDFKJA
...
-----END CERTIFICATE-----
"
LEDGER_DB_QUERY_CERTIFICATE="-----BEGIN CERTIFICATE-----
LKJASLDFKJASLDKFJASDLFKJASDLFKASJDFLKASJDFLASKDJFASLDKFJASLDFKJA
LKJASLDFKJASLDKFJASDLFKJASDLFKASJDFLKASJDFLASKDJFASLDKFJASLDFKJA
LKJASLDFKJASLDKFJASDLFKJASDLFKASJDFLKASJDFLASKDJFASLDKFJASLDFKJA
...
-----END CERTIFICATE-----
"
LEDGER_DB_COMMAND_CERTIFICATE="-----BEGIN CERTIFICATE-----
LKJASLDFKJASLDKFJASDLFKJASDLFKASJDFLKASJDFLASKDJFASLDKFJASLDFKJA
LKJASLDFKJASLDKFJASDLFKJASDLFKASJDFLKASJDFLASKDJFASLDKFJASLDFKJA
LKJASLDFKJASLDKFJASDLFKJASDLFKASJDFLKASJDFLASKDJFASLDKFJASLDFKJA
...
-----END CERTIFICATE-----
"