Skip to content

Latest commit

聽

History

History
聽
聽

README.md

OpenStatus Server

Tech

  • Bun
  • HonoJS

Deploy

From root

flyctl deploy --config apps/server/fly.toml --dockerfile  apps/server/Dockerfile

Docker

The Dockerfile is generated thanks to Dofigen. To generate the Dockerfile, run the following command from the apps/server directory:

# Update the dependent image versions
dofigen update
# Generate the Dockerfile
dofigen gen

Build the docker image locally

docker build . -t registry.fly.io/openstatus-docker:openstatus-docker-v0  --file  ./apps/server/Dockerfile --platform linux/amd64

if you want to run the docker image locally

docker run -p 3000:3000  registry.fly.io/openstatus-docker:openstatus-docker-v0

Push to Fly Registry

docker push registry.fly.io/openstatus-docker:openstatus-docker-v0

Deploy to Fly

flyctl deploy --app openstatus-docker \
  --image registry.fly.io/openstatus-docker:openstatus-docker-v0