This repository contains a Docker environment for running iTop, an open-source IT service management tool.
The environment is designed to be easy to set up and use, with all necessary components included.
Warning
Mind that this environment is intended for development and testing purposes only.
It should not be used for production.
π Quick Start: Windows WSL2
π Quick Start: Ubuntu
π iTop installation
π How To
π PhpStorm Tips
π PHP Switcher Browser Extension
π Troubleshooting
Find below, a short description of containers available in the Docker environment.
Tip
Containers ports can be modified in the .env.local file if they don't suit your need or are already used by others applications.
The containers in charge of serving the web pages.
Tip
You can change the default web server. How To...
88(Automatic Mode) To serve pages based on PHP version passed in request headerX-PHP-Version.443(Automatic Mode) To serve pages based on PHP version passed in request headerX-PHP-VersionwithHTTPSprotocol.74Serve pages based on PHP 7.4.80Serve pages based on PHP 8.0.81Serve pages based on PHP 8.1.- etc... (depending on the number of PHP versions you have, until 88 π¬)
With automatic mode, web servers will serve pages based on the PHP version passed in the request header X-PHP-Version.
A browser extension (Chrome and Firefox) is provided to easily switch between PHP versions.
You also can use one of the official browser extensions allowing to add custom headers then set yourself the desired PHP version.
X-PHP-Version = 82 for PHP 8.2.
Nginx webserver.
Official build of Nginx based on nginx:alpine π³ Docker official image page
Note
A self-signed certificate is included in the certs webserver conf directory allowing HTTPS.
Note
app.conf file is included in the nginx conf directory to configure Nginx settings. How To...
Apache webserver.
Official build based on httpd:latest π³ Docker official image page
Note
A self-signed certificate is included in the certs webserver conf directory allowing HTTPS.
Note
httpd.conf file is included in the apache conf directory to configure Apache settings. How To...
httpd-vhosts.conf file is included in the apache conf directory to configure virtual hosts. How To...
While designed for web development, the PHP scripting language also provides general-purpose use.
Custom build based on php:x.x-fpm image, this extended image includes xdebug, all needed php extensions, graphviz and a MariaDB client to run iTop π³ Docker official image page
Note
php.ini file is included in the php conf directory to configure PHP settings. How To...
xdebug.ini file is included in the php conf directory to configure XDebug settings. How To...
client.cnf file is included in the php conf directory to configure MariaDB/MySQL client settings. How To...
Tip
You can add a new PHP version. How To...
MariaDB Server is a high performing open source relational database, forked from MySQL.
Official build based on mariadb image. π³ Docker official image page
Note
Certificates are included in the certs database conf directory allowing secured connection to the database.
Important
require_secure_transport flag is set to OFF in the default configuration of the database.
If you want to enable it, you can change the my.cnf file included in the database conf directory. How To...\
3306
MySQL is a widely used, open-source relational database management system (RDBMS).
Official build based on mysql image. π³ Docker official image page
Note
Certificates are included in the certs database conf directory allowing secured connection to the database.
Important
require_secure_transport flag is set to OFF in the default configuration of the database.
If you want to enable it, you can change the my.cnf file included in the database conf directory. How To...
You also need to set 'db_tls.enabled' => true in iTop configurations.
3307
Database management in a single PHP file.
Official build based on adminer image. π³ Docker official image page
8080
Mailpit is packed full of features for developers wanting to test SMTP and emails. It acts as an SMTP server, provides a modern web interface to view & test intercepted emails. It also contains an API for automated integration testing.
Official build based on axllent/mailpit image. π³ Docker official image page
8025WebUI1025SMTP
Script-server allows you to execute pre-configured CLI scripts directly from a Web UI. No need for SSH connection, knowing commands exact syntax.
Official build based on bugy/script-server image. π³ Docker official image page
8090WebUI
Web GUI to inspect Valgrind and Xdebug profiling reports.
Official build based on nedix/kcachegrind image. π³ Docker official image page
8088WebUI
Web GUI to browse SVN repository.
Official build based on pschatzmann/websvn image. π³ Docker official image page
8086WebUI


