shamirlabs / diva-alpha-net

Diva alpha testnet
https://docs.shamirlabs.org/diva/testnet/intro
19 stars 17 forks source link

Doing Debian/Ubuntu package #46

Closed olivierb2 closed 9 months ago

olivierb2 commented 1 year ago

I was thinking to make Debian/Ubuntu package to provide alternative way to deploy Diva Operator. Usual way is instead using docker-compose file, we can use systemd service, Debian repository for updates, and proper config files in path like /etc/diva/config.

Does something like this is interresting other people or everybody here prefer to use docker container.

pradavc commented 1 year ago

Hi @olivierb2 , It sounds very interesting (the more options, the better). We were also debating about just publishing the binary in the next release. Are you willing to contribute by building the package? If so, how can we help? Take into account that the operator UI needs a server anyway, but you can also run it locally.

mrabino1 commented 1 year ago

While I do use docker and love the simplicity, I do think there is a benefit to reducing the number of sw packages that are requirements to run a node.. and potentially attack vectors.. and dependencies.. many folks (me included) prefer running a service on linux itself not a docker instance.... and while the documentation definitely needs to be expanded, I believe the trade off justifies it.. my 0.02.. thx.

edit: an ubuntu package would be great... that said, it more about being able to run it on the metal

pradavc commented 1 year ago

Most of the services are telemetry, which helps us debug the testnet and better understand what is happening. But definitely, we can work on an ubuntu package or provide just the binaries so they can be executed directly as services. In any case, my only concern is not the Diva package but the rest of the services requiring the same approach (vector, prometheus, jaeger, etc). That is a more significant effort than simply providing a package, especially when configuring all of them.

mrabino1 commented 1 year ago

challenge accepted.. :) joking aside, I do think having the configuration be more broadly used, will also allow for greater flexibility and debugging..

olivierb2 commented 1 year ago

Can we work together on this? Do you have a channel for communication?

franjoespejo commented 9 months ago

closing this as it has been inactive. Please feel free to reopen