Closed leplatrem closed 10 years ago
Nice! Out of curiosity, what's the exact goal of using Docker? Is it for daybed developers to quickly have a working dev environment? Or for people who want to deploy daybed for an actual use?
Btw here's a interesting article that suggests using an init process in Docker containers: http://phusion.github.io/baseimage-docker/, which sounds wise to me.
@elemoine It is more for really fast user deployement for the next release we will release the docker image pre configured as well as a Debian package to make it really fast and easy to deploy.
Thanks Eric for getting in touch :)
I can see two main use-cases of Docker for Daybed :
Regarding init in Docker, we've had this discussion for a while at Makina. The main disavantage is the lack of cron. But we can survive this by logging to stdout and delegate log handling to docker host daemon...
Why is it a WIP? What are you expecting to add?
Not WIP anymore :) Ready to review/merge
Notes:
UWSGI supports environment variables substitution in ini files for the [uwsgi]
section ($(VAR)
syntax) . But Paste config parser does not expand them at all in the other sections, so I did it in python with os.path.expandvars
(${VAR}
syntax).
Done :)