Page MenuHomeDevCentral

Run with uWSGI on Docker
Changes PlannedPublic

Authored by dereckson on Sun, Nov 13, 00:22.

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.