1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/mantisbt/README.md

78 lines
2.0 KiB
Markdown
Raw Normal View History

2019-10-27 01:52:18 +02:00
mantisbt
========
[MantisBT][1] is an open source issue tracker that provides
2015-05-18 11:08:49 +02:00
a delicate balance between simplicity and power.
2015-05-06 09:42:45 +02:00
## docker-compose.yml
2019-10-27 01:52:18 +02:00
```yaml
2021-04-16 09:53:26 +02:00
version: "3.8"
services:
mantisbt:
image: vimagick/mantisbt
ports:
- "8989:80"
depends_on:
- mysql
restart: unless-stopped
mysql:
image: mysql
volumes:
- ./data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=bugtracker
- MYSQL_USER=mantis
- MYSQL_PASSWORD=mantis
restart: unless-stopped
2015-05-06 09:42:45 +02:00
```
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
2019-10-27 01:52:18 +02:00
[1]: https://www.mantisbt.org/index.php