Skip to content

About

This project shows how to host a FastAPI rest api service in a docker container behind a traefik proxy.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI and Traefik Example

This project shows how to setup a FastAPI service behind a Traefik proxy running in docker containers.

How to setup the project

  1. First, add the network to your docker environment: "docker network create hello_service".
  2. Add your email to ".env".
  3. Spin up project: "docker compose up --build -d".
  4. Go to "localhost:8080/dashboard" to see the traefik interface.
  5. Go to "hello.localhost/api" to see the api.

About

This project shows how to host a FastAPI rest api service in a docker container behind a traefik proxy.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages