MantisBT
is an open source issue tracker that provides
a delicate balance between simplicity and power.
The examples suppose you will have the data for your containers in /srv/mantis
. Adapt for your server.
mantisbt:
image: xlrl/mantisbt:latest
ports:
- "8989:80"
links:
- mysql
volumes:
- /srv/mantis/config:/var/lib/www/html/config
- /srv/mantis/custom:/var/lib/www/html/custom
restart: always
mysql:
image: mariadb:latest
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=bugtracker
- MYSQL_USER=mantisbt
- MYSQL_PASSWORD=mantisbt
volumes:
- /srv/mantis/mysql:/var/lib/mysql
restart: always
You can use
mysql
/postgres
instead ofmariadb
.
$ firefox http://localhost:8989/admin/install.php
>>> username: administrator
>>> password: root
==================================================================================
Installation Options
==================================================================================
Type of Database MySQL/MySQLi
Hostname (for Database Server) mysql
Username (for Database) mantisbt
Password (for Database) mantisbt
Database name (for Database) bugtracker
Admin Username (to create Database if required) root
Admin Password (to create Database if required) root
Print SQL Queries instead of Writing to the Database [ ]
Attempt Installation [Install/Upgrade Database]
==================================================================================
Append following to /srv/mantis/config/config_inc.php
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_administrator_email = '[email protected]';
$g_webmaster_email = '[email protected]';
$g_return_path_email = '[email protected]';
$g_from_email = '[email protected]';
$g_smtp_host = 'smtp.example.org';
$g_smtp_port = 25;
$g_smtp_connection_mode = 'tls';
$g_smtp_username = 'mantisbt';
$g_smtp_password = '********';