참고: https://hub.docker.com/r/vimagick/mantisbt
- mantisbt 이미지 설치
docker pull vimagick/mantisbt:latest
- mysql 이미지 설치
docker pull mysql:5.7
- docker-compose.yml 파일 (빨간색 추가)
version: '3.8'
services:
mantisbt:
image: vimagick/mantisbt:latest
ports:
- "8989:80"
links:
- mysql
restart: always
mysql:
image: mysql:5.7
volumes:
- ./data:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=bugtracker
- MYSQL_USER=mantisbt
- MYSQL_PASSWORD=mantisbt
restart: always
- 실행 (docker-compose.yml 파일 위치에서 실행)
$ docker-compose up -d
- 설정 (브라우저에서)
http://localhost:8989/admin/install.php
최초 로그인
administrator / root
Type of Database MySQL/MySQLi Hostname (for Database Server) mysql Username (for Database) mantisbt Password (for Database) mantisbt Database name (for Database) bugtracker Admin Username (to create Database if required) root Admin Password (to create Database if required) root
댓글 없음:
댓글 쓰기