Closed jpadilla closed 6 years ago
mmmm yo nunca he usado docker pero aprendo.
Resources: https://registry.hub.docker.com/u/dockerfile/nginx/ https://registry.hub.docker.com/_/postgres/ https://www.terraform.io/
Might be a good idea to keep using the existing Heroku Postgres DB.
Terraform es un overkill for this.
Trying out tutum, just for the heck of it. Already have automatic builds in Docker Hub setup.
Might check out Cloudflare to deal with HTTPS.
Want to check out https://github.com/phusion/passenger-docker.
Setup idea until now: Container with app and its requirements running with gunicorn and nginx Private container with SSL and nginx configuration as a volume to the container above.
nginx container(notaso-web) + gunicorn container(notaso-app) is mostly working.
Next steps: Look into settings nginx + gunicorn(notaso-web + notaso-app) in one container, passenger-docker might work well for this setup, and attach notaso-data container for SSL certs.
@jpadilla I think we should use www.fig.sh to setup the containers for a simple setup, linking up containers and easily scale any container if needed.
@Jpadilla1 sí, no estaría mal. Still need to figure out the setup without fig first.
I've been playing around with docker for a few weeks now and finally got the hang of it. I'll investigate the setup with fig probably this weekend.
@Jpadilla1 sería bueno comparar notas or meetup later para meterle un rato. Voy a ver si hoy logro continuar.
Will probably work on this, but focusing on development, docker + compose
Happy to help out, been using docker with compose lately
@Jpadilla1 thanks! just opened a PR, could use your feedback on it #98
Llevo días debatiendo si quiero Dockerize este proyecto con la posibilidad de tener un setup para deploy en Digital Ocean o en algún otro provider. Mayormente no quiero pagar $20 por solo tener SSL enabled en Heroku.
Maybe es un buen ejercicio para el Docker Meetup.