Visitar URL original
GitHub - pntone/fastapi-docker-traefik: FastAPI with Docker and Traefik · GitHub
Skip to content

About

FastAPI with Docker and Traefik

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Dockerizing FastAPI with Postgres, Uvicorn, and Traefik

Want to learn how to build this?

Check out the post.

Want to use this project?

Development

Build the images and spin up the containers:

$ docker-compose up -d --build

Test it out:

  1. http://fastapi.localhost:8008/
  2. http://fastapi.localhost:8081/

Production

Update the domain in docker-compose.prod.yml, and add your email to traefik.prod.toml.

Build the images and run the containers:

$ docker-compose -f docker-compose.prod.yml up -d --build

About

FastAPI with Docker and Traefik

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages