want to share the docker stack recipe, if anyone interest perhaps i can pr 
to the web2py repo or share it on this group
[stack] 
$ ls | grep web2py
web2py-gunicorn-nginx
web2py-rocket-nginx
web2py-rocket-ssl-nginx
web2py-rocket-ssl-nginx-db-adminer
web2py-rocket-ssl-nginx-memcached
web2py-rocket-ssl-nginx-redis
web2py-tornado-nginx

[alpine] 
$ ls | grep web2py
web2py-gunicorn
web2py-rocket
web2py-rocket-ssl
web2py-tornado

*note:*
- for os base and python base image, better to choose alpine for the size 
is smallest than any other os base image (tested using centos, debian, 
fedora, opensuse, ubuntu) and python base image
- in stack there is provided the docker-compose.yml and the run.sh (run 
docker using shell script run.sh (guided by alec on previous post) )
- everything is tested run well in play-with-docker.com

*need improvement for the script (still learning)*
- for web2py rocket, hardcode the password to run the rocket server, better 
to put it as a variable base on user input, but i don't know to do it when 
using docker compose
- tested web2py-cherrypy ended with error in the anyserver.py is not update 
the cherrypy library file
- in web2py-rocket-ssl the certificate is build using openssl, which is 
ended to confirm when using in https (go to unsafe), think better using 
letsencrypt or something else
- for stack using ldap server, still not found the good image for it, tried 
to built it from the os base image, ended in configuration of ldap server 
must be entered by user during setup (setup-ds-admin when using 389-ds and 
dpkg-reconfigure slapd when using openldap)
- tried to combine stack memcached and redis, not sure if it can be used 
both (the configuration of the parameter cache and session in web2py)
- tried to build haproxy stack, but not sure the configuration in web2py 
book is relevant with the haproxy current version

best regards,
stifan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to