full-stack-fastapi-template
full-stack-fastapi-template copied to clipboard
docker compose up not working
- so many error when init project pleease check
https://github.com/bibektimilsina000/FastAPI-PgStarterKit here is the working project if you only want backend part of this project
Just a heads up, I download this project recently and it worked for me without any modifications.
Hey @DungBuiDeveloper, I recently used the project and seems really smooth. I guess you need to explain what issues you face in the issue, so that we have a guide to help you with it.
I also could not just make it work out of the box. When I run docker compose up
I get errors like the following
proxy-1 | 2024-08-10T00:27:21Z ERR github.com/traefik/traefik/v3/pkg/server/router/router.go:136 > error="middleware "full-stack-fastapi-project-www-redirect@docker" does not exist" entryPointName=https routerName=full-stack-fastapi-project-frontend-https@docker
proxy-1 | 2024-08-10T00:27:21Z ERR github.com/traefik/traefik/v3/cmd/traefik/traefik.go:355 > Router uses a non-existent certificate resolver certificateResolver=le routerName=full-stack-fastapi-project-adminer-https@docker
EDIT: these errors still persist, but a docker compose up --build
creates a fresh build and works out of the box!
I have the same issue as you @emirakdere, sadly a simple docker compose up --build
does not fix anything.