-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
33 lines (25 loc) · 850 Bytes
/
.env.example
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
# Configure docker-compose to use these environment variables
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_USER=votechain
POSTGRES_PASSWORD=votechain
POSTGRES_DB=votechain
# Logger
RUST_LOG=debug
# Blockchain information
RPC_URL=http://localhost:8545
CHAIN_ID=31337
# Database connection url (needed by Diesel)
DATABASE_URL=postgresql://votechain:votechain@localhost:5432/votechain
# Secret for JWT token
JWT_SECRET=secret
JWT_REFRESH_SECRET=refresh_secret
# Port for the server
VOTECHAIN_HOST=localhost
VOTECHAIN_PORT=1234
# Wallet of this relay node
RELAY_WALLET_PRIVATE_KEY=0x1234567890123456789012345678901234567890123456789012345678901234
RELAY_WALLET_ADDRESS=0x1234567890123456789012345678901234567890
# Solidity contract information
## 1. VoteChain contract
VOTECHAIN_CONTRACT_ADDRESS=0x1234567890123456789012345678901234567890