deploy-infra.sample.cfg 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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.medium
  8. VALIDATOR_EC2_INSTANCE_TYPE=t2.medium
  9. BUILD_EC2_INSTANCE_TYPE=t2.large
  10. RPC_EC2_INSTANCE_TYPE=t2.medium
  11. # Validator volume size
  12. VOLUME_SIZE=120
  13. RPC_VOLUME_SIZE=120
  14. # prebuilt AMI with joystream-node, chain-spec and subkey already built
  15. EC2_AMI_ID="ami-0ce5f13e91397239a"
  16. ACCOUNT_ID=$(aws sts get-caller-identity --profile $CLI_PROFILE --query Account --output text)
  17. NEW_STACK_NAME="${STACK_NAME}-${ACCOUNT_ID}"
  18. DATA_PATH="data-$NEW_STACK_NAME"
  19. INVENTORY_PATH="$DATA_PATH/inventory"
  20. NUMBER_OF_VALIDATORS=2
  21. #### PARAMETERS USED BY ANSIBLE
  22. LOCAL_CODE_PATH="~/Joystream/joystream"
  23. NETWORK_SUFFIX=7891
  24. DEPLOYMENT_TYPE=staging
  25. INITIAL_MEMBERS_PATH=""
  26. INITIAL_BALANCES_PATH=""
  27. GIT_REPO="https://github.com/Joystream/joystream.git"
  28. BRANCH_NAME=master
  29. RUNTIME_PROFILE="STAGING"
  30. SKIP_CHAIN_SETUP="true"
  31. # If true will build LOCAL_CODE_PATH otherwise will pull from GIT_REPO:BRANCH_NAME
  32. BUILD_LOCAL_CODE=false