In your docker-compose.yml file, your healthcheck for fastapi uses wget, which saves the file to disk by default. Add --spider to make it behave correctly. Your nginx service has the correct command.
post
This is a FastAPI feature - Autogenerated documentation using Swagger.
You can turn it off by setting docs_url=None
In your linked main.py:
app = FastAPI(
title="IslabTweet",
description=__doc__,
docs_url="/", # change this to None to disable the docs
version=VERSION,
)
Hope this helps!
replies:

all 8 comments