Page MenuHomeDevCentral

Run with uWSGI on Docker
Changes PlannedPublic

Authored by dereckson on Nov 13 2022, 00:22.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 14:20
Unknown Object (File)
Tue, Nov 19, 14:19
Unknown Object (File)
Tue, Nov 19, 14:08
Unknown Object (File)
Tue, Nov 19, 14:06
Unknown Object (File)
Tue, Nov 19, 13:50
Unknown Object (File)
Tue, Nov 19, 13:44
Unknown Object (File)
Thu, Nov 14, 21:50
Unknown Object (File)
Thu, Nov 7, 20:18
Subscribers
None

Details

Reviewers
DorianWinty
Summary

Provide a uWSGI configuration and wrapper

Allow to build a Docker image to run the API.

Test Plan

Image has been built on Dwellers, tested with curl.

Diff Detail

Repository
rAPICLEAN Nasqueron API :: Clean URL
Lint
Lint Skipped
Unit
No Test Coverage
Branch
main
Build Status
Buildable 4294
Build 4561: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson added inline comments.
config.yml
1

Currently, each query gradually increases RAM consumption.

Add max-requests: N to recycle workers after N requests, so we can avoid continuous RAM increase.

14

That option will make uWSGI natively speak HTTP.

As we don't call the service directly, but through nginx,
and nginx has uwsgi support, it would make sense to use instead http.
That would avoid two proxies.