-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapi.env
executable file
·45 lines (41 loc) · 2.14 KB
/
api.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
## Environment Variable Template File for Bitcoin-Api - API Layer
AWS_ACCESS_KEY_ID=<access key ID for bitcoin_api_deployApi_staging or bitcoin_api_deployApi>
AWS_SECRET_ACCESS_KEY=<secret access key ID for bitcoin_api_deployApi_staging or bitcoin_api_deployApi>
AWS_REGION=<AWS region for AWS services>
AWS_ACCOUNT_NUMBER=<AWS account number>
REDIS_URL="redis://instance.region.ec2.cloud.redislabs.com:12345?password=xyz"
NODE_ENV="development" || "production"
DO_NOT_SHOW_REAL_ERRORS="yes"
MEGA_CODE_ENCRYPTION_ID_4=<random 32 character long string>
MEGA_CODE_ENCRYPTION_PASSWORD_4=<random 32 character long string>
LOGGER_COLOUR_OFF="true"
ROOT_LOGGER_PATH="var/task"
# LOG_LEVELS="info warn error critical"
LOG_LEVELS_ON_FOR_COMPONENTS="xxxxxxx"
IS_LAMBDA="yea"
AWS_NODEJS_CONNECTION_REUSE_ENABLED="1"
BITCOIN_API_ENV="staging"
SHOULD_CONSIDER_BANK_STATUS_IN_STAGING_MODE="yes"
# MAINTENANCE_MODE_CODE="xyzabc"
MAINTENANCE_MODE_MESSAGE="Note from Bitcoin-Api.io: The API is currently under maintenance, we thank you for your patience and understanding in the meantime. Be Bitcoin happy with Bitcoin-Api!"
# EXCHANGE ONLY - these do not need to be set on first deploy
EXCHANGE_APP_NAME="Bitcoin-Api Exchange"
IS_EXCHANGE="YES"
EXCHANGE_MANAGEMENT_EMAIL=<
Email address used to send emails to users of your exchange
to perform operations like sending verificaiton emails and
password change emails.
this can be your support email.
This email needs to be be verified in your AWS SES
(you can verify your email through the browser console here: https://console.aws.amazon.com/ses/home)
>
EXCHANGE_FLAMINGO_ENCRYPTION_ID=<random 32 character long string>
EXCHANGE_FLAMINGO_ENCRYPTION_PASSWORD=<random 32 character long string>
EXCHANGE_XOOVO_ENCRYPTION_ID=<random 32 character long string>
EXCHANGE_XOOVO_ENCRYPTION_PASSWORD=<random 32 character long string>
EXCHANGE_BITCOIN_API_TOKEN=<Bitcoin-Api token used to manage exchange>
EXCHANGE_URL="http://localhost:3000"
# BOTH
WALHALLA_ADDRESS_MODE_SECRET=<random long string>
EXCHANGE_TOKEN_USER_ID=<userId associated with Bitcoin-Api token used to manage exchange>
API_BASE_URL=<base url of your Bitcoin-Api main API>