image:
  file: .gitpod.Dockerfile

ports:
  # Stacks blockchain API port
  - port: 3999
    onOpen: open-preview
  - port: 1000-65535
    onOpen: ignore

tasks:
  - init: npm install
    command: npm run dev
  - openMode: split-right
    command: stacks-node start --config=stacks-blockchain/Stacks-dev.toml

github:
  prebuilds:
    # enable for the master/default branch (defaults to true)
    master: true
    # enable for all branches in this repo (defaults to false)
    branches: false
    # enable for pull requests coming from this repo (defaults to true)
    pullRequests: true
    # enable for pull requests coming from forks (defaults to false)
    pullRequestsFromForks: false
    # add a check to pull requests (defaults to true)
    addCheck: true
    # add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
    addComment: false
    # add a "Review in Gitpod" button to the pull request's description (defaults to false)
    addBadge: false
    # add a label once the prebuild is ready to pull requests (defaults to false)
    addLabel: false
