2015-05-18 11:08:49 +02:00
|
|
|
`MantisBT` is an open source issue tracker that provides
|
|
|
|
a delicate balance between simplicity and power.
|
2015-05-06 09:42:45 +02:00
|
|
|
|
|
|
|
## docker-compose.yml
|
|
|
|
|
|
|
|
```
|
|
|
|
mantisbt:
|
2015-05-18 11:52:55 +02:00
|
|
|
image: vimagick/mantisbt:latest
|
2015-05-06 09:42:45 +02:00
|
|
|
ports:
|
2015-05-18 11:08:49 +02:00
|
|
|
- "8989:80"
|
2015-05-06 09:42:45 +02:00
|
|
|
links:
|
2015-05-18 11:52:55 +02:00
|
|
|
- mysql
|
2015-05-06 09:42:45 +02:00
|
|
|
restart: always
|
|
|
|
|
2015-05-18 11:52:55 +02:00
|
|
|
mysql:
|
|
|
|
image: mysql:latest
|
2015-05-06 09:42:45 +02:00
|
|
|
environment:
|
2015-05-12 10:49:35 +02:00
|
|
|
- MYSQL_ROOT_PASSWORD=root
|
2015-05-06 09:42:45 +02:00
|
|
|
- MYSQL_DATABASE=bugtracker
|
2015-05-19 11:30:42 +02:00
|
|
|
- MYSQL_USER=mantisbt
|
|
|
|
- MYSQL_PASSWORD=mantisbt
|
2015-05-06 09:42:45 +02:00
|
|
|
restart: always
|
|
|
|
```
|
2015-05-18 10:57:30 +02:00
|
|
|
|
2015-05-19 11:30:42 +02:00
|
|
|
> You can use `mariadb`/`postgres` instead of `mysql`.
|
2015-05-18 12:39:05 +02:00
|
|
|
|
2015-05-26 11:56:00 +02:00
|
|
|
## install
|
2015-05-18 10:57:30 +02:00
|
|
|
|
|
|
|
```
|
2015-05-18 11:08:49 +02:00
|
|
|
$ firefox http://localhost:8989/admin/install.php
|
2015-05-18 10:57:30 +02:00
|
|
|
>>> username: administrator
|
|
|
|
>>> password: root
|
|
|
|
```
|
2015-05-18 11:32:31 +02:00
|
|
|
|
2015-05-18 12:39:05 +02:00
|
|
|
```
|
|
|
|
==================================================================================
|
|
|
|
Installation Options
|
|
|
|
==================================================================================
|
|
|
|
Type of Database MySQL/MySQLi
|
|
|
|
Hostname (for Database Server) mysql
|
2015-05-19 11:30:42 +02:00
|
|
|
Username (for Database) mantisbt
|
|
|
|
Password (for Database) mantisbt
|
2015-05-18 12:39:05 +02:00
|
|
|
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]
|
|
|
|
==================================================================================
|
|
|
|
```
|
|
|
|
|
2015-05-26 11:56:00 +02:00
|
|
|
## email
|
|
|
|
|
|
|
|
Append following to `/var/www/html/config_inc.php`
|
|
|
|
|
|
|
|
```
|
|
|
|
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
|
|
|
|
$g_administrator_email = 'admin@example.org';
|
|
|
|
$g_webmaster_email = 'webmaster@example.org';
|
|
|
|
$g_return_path_email = 'mantisbt@example.org';
|
|
|
|
$g_from_email = 'mantisbt@example.org';
|
|
|
|
$g_smtp_host = 'smtp.example.org';
|
|
|
|
$g_smtp_port = 25;
|
|
|
|
$g_smtp_connection_mode = 'tls';
|
|
|
|
$g_smtp_username = 'mantisbt';
|
|
|
|
$g_smtp_password = '********';
|
|
|
|
```
|
2015-05-18 11:32:31 +02:00
|
|
|
|