deploy-config.sample.cfg 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #### PARAMETERS USED BY AWS
  2. STACK_NAME=joystream-node
  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. ## Used for Deploying a new node
  19. DATE_TIME=$(date +"%d-%b-%Y-%H-%M-%S")
  20. SINGLE_NODE_STACK_NAME="new-node-$DATE_TIME"
  21. BINARY_FILE="https://github.com/Joystream/joystream/releases/download/v9.3.0/joystream-node-5.1.0-9d9e77751-x86_64-linux-gnu.tar.gz"
  22. CHAIN_SPEC_FILE="https://github.com/Joystream/joystream/releases/download/v9.3.0/joy-testnet-5.json"
  23. #### PARAMETERS USED BY ANSIBLE
  24. LOCAL_CODE_PATH="~/Joystream/joystream"
  25. NETWORK_SUFFIX=7891
  26. GIT_REPO="https://github.com/Joystream/joystream.git"
  27. BRANCH_NAME=sumer
  28. # If true will build LOCAL_CODE_PATH otherwise will pull from GIT_REPO:BRANCH_NAME
  29. BUILD_LOCAL_CODE=false