1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
dockerfiles/mantisbt/README.md

74 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
2015-05-06 07:42:45 +00:00
mantisbt:
2015-05-18 09:52:55 +00:00
image: vimagick/mantisbt:latest
2015-05-06 07:42:45 +00:00
ports:
2015-05-18 09:08:49 +00:00
- "8989:80"
2015-05-06 07:42:45 +00:00
links:
2015-05-18 09:52:55 +00:00
- mysql
2015-05-06 07:42:45 +00:00
restart: always
2015-05-18 09:52:55 +00:00
mysql:
2018-08-16 18:06:36 +00:00
image: mysql:5.7
2019-10-26 23:52:18 +00:00
volumes:
- ./data:/var/lib/mysql
2015-05-06 07:42:45 +00:00
environment:
2015-05-12 08:49:35 +00:00
- MYSQL_ROOT_PASSWORD=root
2015-05-06 07:42:45 +00:00
- MYSQL_DATABASE=bugtracker
2015-05-19 09:30:42 +00:00
- MYSQL_USER=mantisbt
- MYSQL_PASSWORD=mantisbt
2015-05-06 07:42:45 +00:00
restart: always
```
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