project Utilities / File Location Listing avatar

utilities/file_location_listing#59: Docker container should run waitress



Issue Information

Issue Type: issue
Status: closed
Reported By: btasker
Assigned To: btasker

Milestone: v0.2.7.1
Created: 04-Jun-24 16:38



Description

I think we're now at the point where we need to swap from using the Flask development server to something that's actually production suitable.

Based on plucking out of the air, I think we'll go with waitress - need to update so that we're using that.



Toggle State Changes

Activity


assigned to @btasker

verified

mentioned in commit 85945ea50892dbfea2a869886f421b9c499b6e4c

Commit: 85945ea50892dbfea2a869886f421b9c499b6e4c 
Author: B Tasker                            
                            
Date: 2024-06-04T17:44:49.000+01:00 

Message

chore: switch container over to serving with waitress utilities/file_location_listing#59

+7 -5 (12 lines changed)

Actually, we probably can't use the command line waitress-serve because we first need to set config etc.

verified

mentioned in commit c47a1ad1fc7be1726f71e9f5fe42a2c9edb55080

Commit: c47a1ad1fc7be1726f71e9f5fe42a2c9edb55080 
Author: B Tasker                            
                            
Date: 2024-06-05T09:10:26.000+01:00 

Message

fix: switch from waitress-serve to python side initialisation (utilities/file_location_listing#59)

+6 -5 (11 lines changed)