Sign inSign up

izertis/mantisbt

By izertis

•Updated over 4 years ago

Image
0

1.1K

izertis/mantisbt repository overview

MantisBT is an open source issue tracker that provides a delicate balance between simplicity and power.

MantisBT packaged as Docker image.

⁠Example docker-compose.yml

The examples suppose you will have the data for your containers in /srv/mantis. Adapt for your server.

mantisbt:
  image: izertis/mantisbt:latest
  ports:
    - "8989:80"
  links:
    - mysql
  volumes:
    - ./config:/var/www/html/config
    - ./custom:/var/www/html/custom
  restart: always

mysql:
  image: mariadb:latest
  environment:
    - MYSQL_ROOT_PASSWORD=root
    - MYSQL_DATABASE=bugtracker
    - MYSQL_USER=mantisbt
    - MYSQL_PASSWORD=mantisbt
  volumes:
    - ./mysql:/var/lib/mysql
  restart: always

⁠Disable admin mode

According with MantisBT documentation⁠, for security reasons, you should delete (or at least restrict access to) the admin directory. If an environment variable called DISABLE_ADMIN_MODE is set with value true, the admin directory will be deleted at startup.

⁠Configure CRON Jobs

In order to configure CRON Jobs, i.e. for EmailReportingPlugin, you may specify the folloging environment variables:

  • CRON_ENABLED: whether or not enable CRON jobs. Possible values true or false. Default false.
  • CRON_EXPRESSION: schedule in which command defined by CRON_COMMAND will be executed. For example * * * * *
  • CRON_COMMAND: command to execute, i.e. echo "Hello, world!"

NOTE: It's not allowed to define commands containing the character ~ inside

Tag summary

Content type

Image

Digest

Size

206.3 MB

Last updated

over 4 years ago

docker pull izertis/mantisbt