full-stack-fastapi-template icon indicating copy to clipboard operation
full-stack-fastapi-template copied to clipboard

docker compose up not working

Open DungBuiDeveloper opened this issue 1 year ago • 18 comments

  • so many error when init project pleease check

DungBuiDeveloper avatar Aug 23 '23 07:08 DungBuiDeveloper

https://github.com/bibektimilsina000/FastAPI-PgStarterKit here is the working project if you only want backend part of this project

bibektimilsina000 avatar Sep 06 '23 19:09 bibektimilsina000

Just a heads up, I download this project recently and it worked for me without any modifications.

Happily-Coding avatar Apr 24 '24 15:04 Happily-Coding

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.

menkotoglou avatar May 08 '24 16:05 menkotoglou

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!

emirakdere avatar Aug 10 '24 00:08 emirakdere

I have the same issue as you @emirakdere, sadly a simple docker compose up --build does not fix anything.

freegoatw avatar Aug 13 '24 20:08 freegoatw