123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #### PARAMETERS USED BY AWS
- STACK_NAME=joystream-network
- REGION=us-east-1
- CLI_PROFILE=joystream-user
- KEY_PATH="/Users/joystream/Joystream/joystream-key.pem"
- AWS_KEY_PAIR_NAME="joystream-key"
- DEFAULT_EC2_INSTANCE_TYPE=t2.medium
- VALIDATOR_EC2_INSTANCE_TYPE=t2.medium
- BUILD_EC2_INSTANCE_TYPE=t2.large
- RPC_EC2_INSTANCE_TYPE=t2.medium
- # Validator volume size
- VOLUME_SIZE=120
- RPC_VOLUME_SIZE=120
- # prebuilt AMI with joystream-node, chain-spec and subkey already built
- EC2_AMI_ID="ami-0ce5f13e91397239a"
- ACCOUNT_ID=$(aws sts get-caller-identity --profile $CLI_PROFILE --query Account --output text)
- NEW_STACK_NAME="${STACK_NAME}-${ACCOUNT_ID}"
- DATA_PATH="data-$NEW_STACK_NAME"
- INVENTORY_PATH="$DATA_PATH/inventory"
- NUMBER_OF_VALIDATORS=2
- #### PARAMETERS USED BY ANSIBLE
- LOCAL_CODE_PATH="~/Joystream/joystream"
- NETWORK_SUFFIX=7891
- DEPLOYMENT_TYPE=staging
- INITIAL_MEMBERS_PATH=""
- INITIAL_BALANCES_PATH=""
- GIT_REPO="https://github.com/Joystream/joystream.git"
- BRANCH_NAME=master
- RUNTIME_PROFILE="STAGING"
- SKIP_CHAIN_SETUP="true"
- # If true will build LOCAL_CODE_PATH otherwise will pull from GIT_REPO:BRANCH_NAME
- BUILD_LOCAL_CODE=false
|