docker image for the open source CMDB [i-doit] (http://www.i-doit.org). based on:
- the awesome work of the guys i forked this from
- https://kb.i-doit.com/display/en/Manual+Installation -> Debian
- https://kb.i-doit.com/display/en/Setup
Beware
The docker image can be used to explore i-doit
functionality and for evaluation purposes.
It is neither prepared nor tested for a production installation.
this readme is work in progress.
-) build the image:
git clone docker-i-doit && cd docker-i-doit/1.9
docker build -t i-doit:1.9 .
-) set mysql password:
vim launch-stack.sh initialize-db-once.sh change-db-after-idoit-setup.sh # set a new password in these lines -> MYSQL_ROOT_PASSWORD=changeme
-) start database & app:
chmod +x launch-stack.sh; ./launch-stack.sh
-) we now need to change a few things (which are sadly not yet automated):
chmod +x initialize-db-once.sh; ./initialize-db-once.sh
docker stop idoit-mariadb
mv /srv/mariadb-data/ib_logfile[01] /tmp
-) start the database again:
docker start idoit-mariadb
-) Point your browser to http://thehost:80/i-doit/
and complete the installation steps. the installation should finish, but then you will be unable to login yet, because...
-) the automatic installation creates an idoit mysql user, but it can only login from localhost, so we change it to be able to login from anywhere:
chmod +x change-db-after-idoit-setup.sh; ./change-db-after-idoit-setup.sh
-) Point your browser again to http://thehost:80/i-doit/
- you should be able to log in and use i-doit now
docker exec -ti idoit-apache bash
cd /var/www/html/i-doit/ && ./idoit-rights set
#### now install plugins/addons, while the idoit-dir's are writeable
#### don't forget to take a note, that if you update the docker image, or delete the active container to re-do the installing
# when done set safer rights again:
cd /var/www/html/i-doit/ && ./idoit-rights unset