Closed dschaper closed 7 years ago
Thanks for the PR! Yeah the Dockerfile is damn out of date compared to the current master. Waiting for the cgkb branch to be done to get back into Docker again.
It would be nice to have, hubot just doesn't cut it anymore. Look forward to getting AIVA up and running!
Awesome. Is that all the changes?
Yes, for now, still not fully functional, but it's a good framework and cuts the full image down to 700MB for now with Ubuntu16.04
Looking at composing a few containers but doing it with minimal need to change the node or anything on your end of development.
https://hub.docker.com/r/zabbix/zabbix-server-pgsql/ May be of interest in the scheme, noting their way of creating the psql databases at build time. Not sure if that would conflict with non-Docker installs though, can sequalize handle an existing database and username if provided in the db.json
?
yep. In face it requires the database to exist in the first place (I use some bash for that) before running sequelize.
Just opened up a new issue for this, let's move to #26
The existing Dockerfile could use a little bit of Dockerization. This still does not solve the issue with postgresql not working with
npm run start
on build, but it's a start. You canrun bash
into the last image, start postgres andpsql -U postgres
works. But.... This really should be a composed docker. NodeJS in one container,nginx
in another container andpostgresql
in a 3rd. Working on that part, and possibly moving to another not-as-heavy base image for everything to run in.