-
Notifications
You must be signed in to change notification settings - Fork 56
/
.env.deployment.template
119 lines (86 loc) · 4.14 KB
/
.env.deployment.template
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
# ================================================================================
# [Shared Settings]
# Services to be started during the deployment
# Leaving it blank will default to 'deployer, worker'
# Options are: administrator, client, deployer, optimist, worker
export DEPLOYMENT_SERVICES=
# The network name defined for this deployment
# Information related to this network is present in config/default.js. See the README.md for additional details
# Required!
export ETH_NETWORK=blockchain
# The Ethereum address to be used during the deployment
# Required!
export ETH_ADDRESS=0x9C8B2276D490141Ae1440Da660E470E7C0349C63
# The private key related to the Ethereum address set in ETH_ADDRESS
# Required!
export ETH_PRIVATE_KEY=0x4775af73d6dc84a0ae76f8726bda4b9ecf187c377229cb39e1afa7a18236a69e
# The blockchain the services will connect to
# Required!
export BLOCKCHAIN_URL=ws://blockchain:8546
# Sets the default gas value and price
# Leaving it blank will fallback to the defined defaults
export GAS=
export GAS_PRICE=
# Text free variable indicating the environment name
export ENVIRONMENT=localhost
# Log level
export LOG_LEVEL=
# If the logging of HTTP payload is enabled
export LOG_HTTP_PAYLOAD_ENABLED=
# If the HTTP full data payload should be logged
export LOG_HTTP_FULL_DATA=
# Number of times the app will try to get the contracts info before giving up
export AUTOSTART_RETRIES=
# Used by the client & deployer services - defines the 'worker' host.
# Leave it blank to get the one started in the docker-compose
export CIRCOM_WORKER_HOST=
# Used by the client & optimist services
# Set to 'true' so that client will not wait for the blockchain to initialize
export USE_EXTERNAL_NODE=
# ================================================================================
# [Administrator]
# MongoDB database connection string
# Leaving it blank will make the app connect to the mongodb started by the docker-compose
export ADMIN_MONGO_URL=
# ================================================================================
# [Client]
# MongoDB database connection string
# Leaving it blank will make the app connect to the mongodb started by the docker-compose
export CLIENT_MONGO_URL=
# Optimist host the client will connect to
# Leaving it blank will make the app connect to the mongodb started by the docker-compose
export OPTIMIST_HOST=
export OPTIMIST_PORT=
# If the queue should be enabled
# Leaving it blank will make the apps connect to the RabbitMQ instance
export ENABLE_QUEUE=
# RabbitMQ host the client will connect to
# Leaving it blank will make the app connect to the mongodb started by the docker-compose
export RABBITMQ_HOST=
export RABBITMQ_PORT=
# ================================================================================
# [Deployer]
# The L2 Token ID that was defined in the settings ('config/default.js') to be used to pay the fees. See nightfall-deployer/README.md.
# Required!
FEE_L2_TOKEN_ID=
# When submitting a transaction, Nightfall verifies if the sender address is sanctioned on Chainalysis sanctions screening oracle
# If set to 'true', a mocked sanctions contract will be deployed, otherwise the Chainalysis sanctions oracle will be used instead.
# Required!
export DEPLOY_MOCKED_SANCTIONS_CONTRACT=
# It is enabled by default. Set to 'disable' to disable the whitelisting process. See docs/whitelist.md
export WHITELISTING=
# The number of Approvers required to authorise `onlyOwner` transactions. See nightfall-administrator/README.md.
# Required!
export MULTISIG_SIGNATURE_THRESHOLD=
# A comma separated Ethereum addresses list of the approvers
# Leave it blank if no approvers are needed
export MULTISIG_APPROVERS=
# If the Trusted Setup should always run during the deployment
export ALWAYS_DO_TRUSTED_SETUP=
# If for some reason the contracts deployment went well, but the cirtuits didn't finish well, set to 'true' to skip the contracts' deployment
export SKIP_DEPLOYMENT=
# If the deployment to run will upgrade contracts
export UPGRADE_CONTRACTS=
# When set to anything different of 'false', deploys the Smart Contract mocks, and funds some contracts and users (for Testing)
# Defaults to 'true' if left blank
export DEPLOY_MOCK_TOKENS=false