Git Product home page Git Product logo

mantisbt's Introduction

Mantis bug tracker on docker

Simple run docker-compose up with the following yml definition:

version: '2'
volumes: 
  mantis-db:
services:
  mantis:
    image: mikroways/mantisbt
    environment:
      MANTIS_ENABLE_ADMIN: 1
      MANTIS_CONFIG: |
        $$g_hostname = 'db';
        $$g_db_type = 'mysqli';
        $$g_database_name = 'mantis';
        $$g_db_username = 'root';
        $$g_db_password = 'mantis';
        $$g_crypto_master_salt='xxxx';
        $$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
        $$g_log_destination = '';
        $$g_show_detailed_errors = ON;
    ports:
      - "8080:80"
  db:
    image: mysql:5.7
    volumes:
    - mantis-db:/var/lib/mysql
    environment:
      MYSQL_ROOT_PASSWORD: mantis
      MYSQL_DATABASE: mantis

Please set g_crypto_master_salt to a value obtained by running:

cat /dev/urandom | head -c 64 | base64

And after creating this file, you are done to begin installation:

Installation

Run with the above configuration:

docker-compose up 

And point your browser at http://localhost:8080/admin/install.php

Follow installation instructions, and you are done!

The default administrator user is administrator / root

Using the installed image

Edit the configuration file provided above removing the following values:

  • Delete MANTIS_ENABLE_ADMIN environment variable
  • Remove g_show_detailed_errors from MANTIS_CONFIG environment variable

Test your installatio` environment variable

  • Remove g_show_detailed_errors from MANTIS_CONFIG environment variable

Test your installation. Enjoy!

mantisbt's People

Contributors

chrodriguez avatar marcolino7 avatar

Stargazers

Terry Poulin avatar taku25 avatar Rak-Kyoung, Choi avatar a1eXei avatar Oleg Kainov avatar

Watchers

James Cloos avatar  avatar Leandro Di Tommaso avatar

mantisbt's Issues

Crontab period?

Sorry if it's a stupid question, but where do you specify interval to run mantis-entrypoint-crontab? Looks like it's not being executed at all....

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.