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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

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

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–40

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