1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
dockerfiles/mantisbt/README.md

78 lines
2.0 KiB
Markdown
Raw Normal View History

2019-10-26 23:52:18 +00:00
mantisbt
========
[MantisBT][1] is an open source issue tracker that provides
2015-05-18 09:08:49 +00:00
a delicate balance between simplicity and power.
2015-05-06 07:42:45 +00:00
## docker-compose.yml
2019-10-26 23:52:18 +00:00
```yaml
2021-04-16 07:53:26 +00: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 07:42:45 +00:00
```
2015-05-18 08:57:30 +00:00
2015-05-19 09:30:42 +00:00
> You can use `mariadb`/`postgres` instead of `mysql`.
2015-05-18 10:39:05 +00:00
2015-05-26 09:56:00 +00:00
## install
2015-05-18 08:57:30 +00:00
```
2015-05-18 09:08:49 +00:00
$ firefox http://localhost:8989/admin/install.php
2015-05-18 08:57:30 +00:00
>>> username: administrator
>>> password: root
```
2015-05-18 09:32:31 +00:00
2015-05-18 10:39:05 +00:00
```
==================================================================================
Installation Options
==================================================================================
Type of Database MySQL/MySQLi
Hostname (for Database Server) mysql
2015-05-19 09:30:42 +00:00
Username (for Database) mantisbt
Password (for Database) mantisbt
2015-05-18 10:39:05 +00: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 09:56:00 +00: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 09:32:31 +00:00
2019-10-26 23:52:18 +00:00
[1]: https://www.mantisbt.org/index.php