Sign inSign up

lbayle/codevtt

By lbayle

•Updated over 2 years ago

CodevTT - TimeTracking and project management on MantisBT

Image
2

2.0K

lbayle/codevtt repository overview

  • MantisBT⁠ is an open source issue tracker that provides a delicate balance between simplicity and power.
  • CodevTT⁠ adds powerfull project management features to MantisBT.

This container provides an HTTP server with PHP8.1, MantisBT v2.26.0 and CodevTT v1.8.1. You'll need to install a database container like mariadb:latest.

Dockerfile is here⁠

docker-compose.yml is here⁠

1) docker-compose.yml


version: '3.8'

services:
# ---------------------------------------------------------
  # docker exec -i mariadb-codevtt mariadb -uroot -pmy_password --force bugtracker < mantis_codevtt_freshInstall.sql
  mariadb:
    image: mariadb:latest
    hostname: 'mariadb'
    container_name: mariadb-codevtt
    restart: unless-stopped
    environment:
      - MYSQL_ROOT_PASSWORD=my_password
      - MYSQL_DATABASE=bugtracker
      - MYSQL_USER=mantisbt
      - MYSQL_PASSWORD=mantisbt
    deploy:
      resources:
        limits:
          memory: 1G
    networks:
      - codevtt_net
    volumes:
      - /data/docker/mariadb/mysql:/var/lib/mysql
      - /data/docker/mariadb/logs:/var/log/mariadb
      - /data/docker/mariadb/conf.d:/etc/mysql/conf.d

  # ---------------------------------------------------------
  mantis-codevtt:
    image: lbayle/codevtt:1.8.1
    hostname: 'mantis-codevtt'
    container_name: mantis-codevtt
    restart: unless-stopped
    ports:
      - '80:80'
    deploy:
      resources:
        limits:
          memory: 1G
    links:
      - mariadb
    networks:
      - codevtt_net
    volumes:
      - /data/docker/mantis-codevtt/logs-httpd:/var/log/httpd/
      - /data/docker/mantis-codevtt/logs:/tmp/codevtt/logs
      - /data/docker/mantis-codevtt/mantis/uploaded_files:/var/www/html/mantis/uploaded_files
      - /data/docker/mantis-codevtt/mantis/config:/var/www/html/mantis/config
      - /data/docker/mantis-codevtt/mantis/plugins:/var/www/html/mantis/plugins
      - /data/docker/mantis-codevtt/codevtt/config:/var/www/html/codevtt/config

  # ---------------------------------------------------------
  phpmyadmin:
    image: phpmyadmin/phpmyadmin
    hostname: 'phpmyadmin'
    container_name: phpmyadmin-codevtt
    restart: unless-stopped
    ports:
      - 8080:80
    environment:
      - PMA_ARBITRARY=1
      - PMA_HOST=mariadb
      - PMA_USER=mantisbt
      - PMA_PASSWORD=mantisbt
    networks:
      - codevtt_net
    links:
      - mariadb
    volumes:
      - /data/docker/phpmyadmin/config.user.inc.php:/etc/phpmyadmin/config.user.inc.php

networks:
  codevtt_net:
    name: codevtt_net
    driver: bridge

 

2) upload the default database

Download the SQL file: mantis_codevtt_freshInstall.sql⁠

docker exec -i mariadb-codevtt mariadb -uroot -pmy_password --force bugtracker < mantis_codevtt_freshInstall.sql

3) customization

If you change the exposed port (-p 80:80) or database settings, you'll need to update the following configuration files:

(path depends on your docker-compose.yml)

/data/docker/mantis-codevtt/mantis/config/config_inc.php
/data/docker/mantis-codevtt/codevtt/config/config.ini

4) login / password

Mantis & CodevTT share the same user base. There is only one user declared :

login: administrator
password: root

Tag summary

Content type

Image

Digest

sha256:1dcd1bcc6…

Size

314.8 MB

Last updated

over 2 years ago

docker pull lbayle/codevtt