Public | Automated Build

Last pushed: a year ago
Short Description
iTop Docker image based on phusion/baseimage and Ansible.
Full Description

iTop Docker image

This image is built using phusion/baseimage and uses Ansible to deploy the iTop version you want.

Identify iTop version and file name

First of all, you'll have to get iTop's version and file name, you'll find this information in the iTop's SourceForge project.

In this example, we'll use the following values :

  • ITOP__VERSION : 2.3.0-beta
  • ITOP__FILENAME : iTop-2.3.0-beta-2777.zip

Running the image

docker run --name=itop \
 -p 8080:80 \
 -e ITOP__VERSION=2.3.0-beta \
 -e ITOP__FILENAME=iTop-2.3.0-beta-2777.zip \
 -it \
 teamworksi/docker-itop

Ansible will trigger iTop setup at the first run !

Mapping iTop's folder on host

You'll have to create the directory on host first, then you'll be able to run the image as below :

 docker run --name=itop \
 -p 8080:80 \
 -e ITOP__VERSION=2.3.0-beta \
 -e ITOP__FILENAME=iTop-2.3.0-beta-2777.zip \
 -v </path/to/iTop/on/host>:/var/www/html \
 -it \
 teamworksi/docker-itop

Setting up iTop's ToolKit

iTop ToolKit is used to edit and validate custom extensions.
Here's Combodo documention on this tool.

During container first run

If you know that you'll need the ToolKit for your iTop instance, then you should run your container like that :

 docker run --name=itop \
  -p 8080:80 \
  -e ITOP__VERSION=2.3.0-beta \
  -e ITOP__FILENAME=iTop-2.3.0-beta-2777.zip \
  -e ITOP__TOOLKIT=YES \
  -it \
  teamworksi/docker-itop

On a running container

If you didn't install the ToolKit when you created your iTop container, you're still able to install it using the following command :

docker exec -it <name of iTop container> /tools/setup_toolkit.sh

Other cool tools bundled in this image

Script to turn your configuration file writable

Tired of "chmoding" your config file before re-running iTop's setup ?
We built a tool for that !

Just run the following command, and this will be done !

docker exec -it <name of iTop container> /tools/prepare_setup.sh

Enjoy !

After a few minutes, you'll be able to set up your brand new iTop !
Open http://localhost:8080 and follow the setup wizzard !

Docker Pull Command
Owner
teamworksi
Source Repository

Comments (0)