-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.example
69 lines (54 loc) · 2.11 KB
/
.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
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
ENV=development
# LetsEncrypt! SSL
SSL_EMAIL=
# Base path
BASE_PATH=localhost:3000
# Hosts
HOST_GRAPH_NODE=graph.culturestake.local
HOST_APP=culturestake.local
# Postgres database
POSTGRES_PASSWORD=postgres
POSTGRES_USER=postgres
# Redis worker
REDIS_URL=redis://redis:6379
# Service endpoints
ETHEREUM_NODE_ENDPOINT=http://ganache:8545
ETHEREUM_NODE_ENDPOINT_WS=ws://ganache:8545
GRAPH_NODE_ENDPOINT=http://localhost:8020
IPFS_NODE_ENDPOINT=http://localhost:5001
API_ENDPOINT=http://localhost:3000/api
# Database names
POSTGRES_DATABASE_GRAPH_NODE=culturestake_graph
POSTGRES_DATABASE_MAIN=culturestake_development
POSTGRES_DATABASE_TEST=culturestake_test
# Graph node
SUBGRAPH_NAME=bitspossessed/culturestake-subgraph
SUBGRAPH_NETWORK=ganache
# Smart Contracts
CULTURESTAKE_ADDRESS=0xCfEB869F69431e42cdB54A4F4f105C19C080A601
VOTE_RELAYER=0x1dF62f291b2E969fB0849d99D9Ce41e2F137006e
# Smart Contracts initial owners
GANACHE_ACCOUNT=0xFFcf8FDEE72ac11b5c542428B35EEF5769C409f0
METAMASK=0x22d491Bde2303f2f43325b2108D26f1eAbA1e32b
# Smart Contracts test booth
BOOTH=0xddbf9c4fb47fa4cBddc31410697Cde5A5A5F6B63
# JWT Authentication
JWT_SECRET=secret
# Api TX-DISPATCHER
PAYER_PRIV_KEY=b0057716d5917badaf911b193b12b910811c1497b5bada8d7711f758981c3773
ADMIN_CONTRACT=0xCfEB869F69431e42cdB54A4F4f105C19C080A601
BOOTH_PRIV_KEY=c72e8acaf6e111d568918c13e4ae033bceb82d32ef4f4a7e9c42504d09e7d3d8
PAYER_ADDRESS=0x1dF62f291b2E969fB0849d99D9Ce41e2F137006e
# Barcode helper service
BARCODE_URL="https://barcode.tec-it.com/barcode.ashx?data={barcode}&code=Code128&multiplebarcodes=false&translate-esc=false&unit=Fit&dpi=600&imagetype=jpg&rotation=0&color=%23000000&bgcolor=%23ffffff&codepage=&qunit=Mm&quiet=0"
# Mail sending
STACK_MAIL_PORT=25
STACK_MAIL_HOST=localhost
STACK_MAIL_USER=
STACK_MAIL_PASSWORD=
STACK_MAIL_SENDER=meesix@example.org
# set to `none` or leave empty to disable TLS all together, set to `tls` to use
# TLS when connection to the server (usually use this if connecting using port
# 465) or set to `starttls` to use the STARTTLS extension if supported by the
# server (usually use this if the port is set to port 587).
STACK_MAIL_SECURITY=none