This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.template
51 lines (38 loc) · 1.77 KB
/
env.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
# Copy this file to ".env.dev" and ".env.docker.dev", and then tweak values for local development
# URL to IPFS endpoint
# IPFS_ENDPOINT="https://ipfs.infura.io:5001"
IPFS_ENDPOINT="http://127.0.0.1:5001"
# If using Infura, put Project ID here, or leave blank for Kubo RPC
# IPFS_BASIC_AUTH_USER=
# If using Infura, put auth token here, or leave blank for Kubo RPC
IPFS_BASIC_AUTH_SECRET=
# IPFS gateway URL. '[CID]' is a token that will be replaced with an actual content ID
# IPFS_GATEWAY_URL="https://ipfs.io/ipfs/[CID]"
IPFS_GATEWAY_URL="http://127.0.0.1:8080/ipfs/[CID]"
# Blockchain node address
FREQUENCY_URL=ws://0.0.0.0:9944
PROVIDER_ID=1
# Redis URL
REDIS_URL=redis://0.0.0.0:6379
PROVIDER_ACCOUNT_SEED_PHRASE="//Alice"
CAPACITY_LIMIT='{"type":"percentage", "value":80}'
# Port that the application REST endpoints listen on
API_PORT=3000
# Environment for mapping announcement type to schema ID (use 'dev' for e2e tests)
# Possible values: dev, rococo, testnet, mainnet
CHAIN_ENVIRONMENT=dev
# Max file size allowed for asset upload
FILE_UPLOAD_MAX_SIZE_IN_BYTES=2000000000
# Number of seconds to keep completed asset entrie in the cache
# before expiring them
ASSET_EXPIRATION_INTERVAL_SECONDS=300
# Number of seconds between content publishing batches. This is so that
# the service waits a reasonable amount of time for additional content to publishing
# before submitting a batch--it represents a trade-off between maximum batch fullness
# and minimal wait time for published content.
BATCH_INTERVAL_SECONDS=12
# Maximum number of items that can be submitted in a single batch
BATCH_MAX_COUNT=1000
# Base delay in seconds used for exponential backoff while waiting for
# uploaded assets to be verified available before publishing a content notice.
ASSET_UPLOAD_VERIFICATION_DELAY_SECONDS=5