Page MenuHomeSoftware Heritage

docker: Use production settings for swh-web
ClosedPublic

Authored by anlambert on Mar 4 2020, 9:55 PM.

Details

Summary

As we use gunicorn to serve the webapp in docker, we have to use production config
for swh-web otherwise Django cache and sessions can not be shared between workers.

Diff Detail

Repository
rDENV Development environment
Branch
docker-swh-web-production
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 10918
Build 16421: arc lint + arc unit

Event Timeline

ardumont added inline comments.
docker/conf/web.yml
39

is the development one still needed then?

This revision is now accepted and ready to land.Mar 5 2020, 9:49 AM
docker/conf/web.yml
39

I prefer to keep it for those who want to hack on swh-web using docker and django development settings.