Skip to content

docker images for the open source CMDB i-doit - docker build files

Notifications You must be signed in to change notification settings

frisbee23/docker-i-doit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

i-doit 1.9

docker image for the open source CMDB [i-doit] (http://www.i-doit.org). based on:

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.

Walkthrough on install/first launch

-) 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

to install plugins

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

About

docker images for the open source CMDB i-doit - docker build files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 96.0%
  • Makefile 4.0%