olegdayo / health

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Health (aka System Design homework №1)

Main

The simple HTTP-server is implemented in Rust + Actix

Endpoints:

  • /: returns hello
  • /health/: returns health state

Start

Compose

The simpliest way to launch the app is to run

docker-compose up --build -d

Build from scratch

docker build --tag=health .
docker run -p 8000:8000 health

Pull image from Hub

docker run -i -t -p 8000:8000 offluck/healthy:latest

About


Languages

Language:Rust 59.3%Language:Dockerfile 40.7%