Skip to content

[FEEDBACK] did the service use any WGSI server instance for flask ? #342

@NuxitBrain

Description

@NuxitBrain

Thank you for taking the time to provide feedback! This is incredibly valuable for fine-tuning the software.

i was just launching the new version of your service and i saw this line during docker up :
[INFO]-[18-02-2026 20-23-12]-WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
and after more checking in the dockerfile, i didn't see any package like gunicorn for lauching the instance with WSGI server. Does it a choice on your side ?
I'm still a beginner in deployment but I have always been told that it was bad to use directly the development tools in deployment in point of view of safety and performance. But it was in case of HTML service with "a lot of people" ( less than a 100) so i don't know in your case if it will impact performance.
For safety concern, if Debug=False ( which seem to be the case ?) i don't think it a issue. But again, I'm not a expert

Solution : create a gunicorn instance in deployement mode ( separe de docker-compose.dev.yaml and the other docker-compose-xxx.prod.yaml is generally what I do ...) .

I can't wait to hear your opinion on the matter :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions