deploy-infra.sample.cfg 1021 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #### PARAMETERS USED BY AWS
  2. STACK_NAME=joystream-network
  3. REGION=us-east-1
  4. CLI_PROFILE=joystream-user
  5. KEY_PATH="/Users/joystream/Joystream/joystream-key.pem"
  6. AWS_KEY_PAIR_NAME="joystream-key"
  7. DEFAULT_EC2_INSTANCE_TYPE=t2.micro
  8. VALIDATOR_EC2_INSTANCE_TYPE=t2.micro
  9. BUILD_EC2_INSTANCE_TYPE=t2.xlarge
  10. RPC_EC2_INSTANCE_TYPE=t2.micro
  11. # prebuilt AMI with joystream-node, chain-spec and subkey already built
  12. EC2_AMI_ID="ami-08ffec5991ca99db9"
  13. ACCOUNT_ID=$(aws sts get-caller-identity --profile $CLI_PROFILE --query Account --output text)
  14. NEW_STACK_NAME="${STACK_NAME}-${ACCOUNT_ID}"
  15. DATA_PATH="data-$NEW_STACK_NAME"
  16. INVENTORY_PATH="$DATA_PATH/inventory"
  17. NUMBER_OF_VALIDATORS=2
  18. #### PARAMETERS USED BY ANSIBLE
  19. LOCAL_CODE_PATH="~/Joystream/joystream"
  20. NETWORK_SUFFIX=7891
  21. DEPLOYMENT_TYPE=live
  22. INITIAL_MEMBERS_PATH=""
  23. INITIAL_BALANCES_PATH=""
  24. GIT_REPO="https://github.com/Joystream/joystream.git"
  25. BRANCH_NAME=sumer
  26. # If true will build LOCAL_CODE_PATH otherwise will pull from GIT_REPO:BRANCH_NAME
  27. BUILD_LOCAL_CODE=false