Openstatus www.openstatus.dev
at main 50 lines 811 B view raw view rendered
1# OpenStatus Checker 2 3The checker service to ping external service. 4 5It pings the service and save thedata to the tinybird 6 7## How to run 8 9```bash 10go run cmd/main.go 11``` 12 13you can also set the env variable 14 15```fish 16set CRON_SECRET YOLO 17set CLOUD_PROVIDER local 18set TINYBIRD_TOKEN random 19``` 20 21## How to build 22 23```bash 24go build -o checker *.go 25``` 26 27## How to run in docker 28 29```bash 30docker build -t checker . 31docker run -p 8080:8080 checker 32``` 33 34## How to deploy 35 36```bash 37fly deploy 38``` 39 40## Deploy to all region 41 42```bash 43fly scale count 35 --region ams,arn,atl,bog,bom,bos,cdg,den,dfw,ewr,eze,fra,gdl,gig,gru,hkg,iad,jnb,lax,lhr,mad,mia,nrt,ord,otp,phx,qro,scl,sjc,sea,sin,syd,waw,yul,yyz 44``` 45 46## Deploy to your own infra 47 48Use our docker image 49 50<https://github.com/openstatusHQ/openstatus/pkgs/container/checker>