zbxdb
zbxdb copied to clipboard
Simplify deployment with Docker and Docker Compose.
Python and its pyvenv I'm always frustrated when I have to set up pyvenv or raw python instance in any kind of environment.
Solution It seems to be a good idea to Dockerize the project using Python 3.6 base with ports exposed and volumes if needed.
If it's up to you, I would like to do that.
Hi Lucas,
it sure is an idea ... On the other hand: it’s about one installation in a network, asuming you use 1 server/proxy per network. Don’t run zbxdb from a database server.
I am not familiar with the setup you propose but if you can show me and if it does not add extra complexities...
Groeten, Ronald Rood
Op 22 aug. 2019 om 11:05 heeft Lukas [email protected] het volgende geschreven:
** Python and its pyvenv ** I'm always frustrated when I have to set up pyvenv or raw python instance in any kind of environment.
Solution It seems to be a good idea to Dockerize the project using Python 3.6 base with ports exposed and volumes if needed.
If it's up to you, I would like to do that.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
The thing is I know how to use the software properly, as you described it in getting started. I just suggested probably better way of packing whole app up. Docker image will be a good idea I think, as not all sysadmins are aware of how to get well on with pyvenv or sth. In case of Docker there is no need of pyvenv really.
Well, show me how that works. I am open for improvements.
Groeten, Ronald Rood
Op 22 aug. 2019 om 20:33 heeft Lukas [email protected] het volgende geschreven:
The thing is I know how to use the software properly, as you described it in getting started. I just suggested probably better way of packing whole app up. Docker image will be a good idea I think, as not all sysadmins are aware of how to get well on with pyvenv or sth. In case of Docker there is no need of pyvenv really.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Yea, sure. I will do it and after having that done, I will make a PR so you can review it and eventaully test it. Will it be a good idea to make a branch for that change so the master will stay unchanged for those who are more willing to use pyvenv?
Add a branch named docker?
Yea, if you are up to it.
It's there now. BTW: I did make a small change after you forked.
How about making the apps selfcontained like with https://pypi.org/project/shiv/
You mean to make it contained so possible to be installed via pip? Yea, ofc. It would be great and make eazier to build possible Docker containers from it e.g
Hi, if you are willing to I can share really simple ansible playbook for setting up zbxdb environment on CentOS/RHEL. Also there would not be a problem to extend this to other distros.
Hi, sure, can you make a pull request for the playbook[s]? Doing so automagically gives credit for who deserves it. I assume you have a subdirectory containing the playbook and role[s]?
I have a lot of spare time now, sorry for a delay... Is it still up to you, that we will try to do this fancy thing with Docker?
Hi Lucas,
yes, if it helps making use of zbxdb easier ..... why not? I guess it also means making a simple web interface to import/export/create and maintain configurations and some way to read the logs. Setup crontab.
For me it will be nice learning experience.
Groeten, Ronald Rood
Op 22 mrt. 2020 om 11:17 heeft Lukas [email protected] het volgende geschreven:
I have a lot of spare time now, sorry for a delay... Is it still up to you, that we will try to do this fancy thing with Docker?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
If you would like me to help you, cause am a web developer, I currently work as a Symfony Developer, I can help you with that stuff or sth. Then Docker will be even more usefull to easily set up such web app :D
+1 for docker. Don't forget about all the users where the zabbix servers don't have internet access! It was a pain installing all dependencies on a RHEL 7 without inet!