Skip to content

vecnode/nomad-fastapi-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nomad-fastapi-stack

Run with Docker:

docker compose up --build  
curl http://localhost:8000/  
curl http://localhost:8000/health  
docker compose down

Run with Nomad locally:

nomad agent -dev  
docker build -t nomad-fastapi:latest .  
nomad job run nomad/fastapi.nomad.hcl  
nomad job status fastapi-service  
curl http://localhost:8000/health
nomad job stop fastapi-service

About

nomad-fastapi-stack

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors