nuriel77 / iri-playbook

IOTA IRI Fullnode Installation Playbook
MIT License
105 stars 24 forks source link

Containerize? #63

Closed yet-another-account closed 6 years ago

yet-another-account commented 6 years ago

It would be nice if this were to be containerized.

nuriel77 commented 6 years ago

@eukaryote31 I did that for IRI+Nelson, can be found here: https://github.com/SemkoDev/nelson.cli/tree/master/contrib/ansible-playbook Downside is that is doesn't include all the goodies that iri-playbook provides.

I'll be glad to see contributions to the playbook though.

nuriel77 commented 6 years ago

If anyone is going to take the tasks of containerizing the playbook, it is worth noting that the iri-playbook delivers a complete full-node solution. This includes a full system configuration. Having the services (iri, prometheus, iota exporter etc) in docker containers will still required some configuration on the system itself, e.g.:

nuriel77 commented 6 years ago

This is the list of services that would have to run in containers:

pulento commented 6 years ago

I just installed on a Bionic LXC and had to hack atop installation since atopacctd won't run inside a container. It seems to be running (haven't finished to download DB) since every process is up and running and I suppose that atop is just for console process monitoring with can be done with other means in container.

Anyway I'm a complete noob on ansible stuff but going to see if I can turn that atop as an optional for people who want to run inside a LXC the whole stuff.

Thanks

nuriel77 commented 6 years ago

Started working on migrating the services into Docker. If you would like to follow progress: https://github.com/nuriel77/iri-playbook/pull/90

Contributions are always welcome.

nuriel77 commented 6 years ago

Containerized version is working well. There are some small issues however, that will hopefully get fixed in time: