name: meshstream
dependencies:
  - go
  - node@20
  - pnpm
  - make
  - protoc
  - git
  - docker:dind
grants:
  - github
env:
  MESHSTREAM_MQTT_BROKER: mqtt.bayme.sh
  MESHSTREAM_MQTT_USERNAME: meshdev
  MESHSTREAM_MQTT_PASSWORD: large4cats
  MESHSTREAM_MQTT_TOPIC_PREFIX: msh/US/bayarea
  MESHSTREAM_SERVER_HOST: "0.0.0.0"
  MESHSTREAM_SERVER_PORT: "5446"
  MESHSTREAM_LOG_LEVEL: info
  MESHSTREAM_VERBOSE_LOGGING: "false"
  MESHSTREAM_CACHE_SIZE: "1000"
hooks:
  pre_run: "cd /workspace/web && pnpm install"
ports:
  web: 5446
runtime: docker
