1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
This commit is contained in:
kev 2015-05-18 17:08:49 +08:00
parent 8d2545242d
commit 7f25909f7c
3 changed files with 20 additions and 7 deletions

View File

@ -10,7 +10,7 @@ RUN a2enmod rewrite
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libpq-dev \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
&& docker-php-ext-install gd mbstring mysql
&& docker-php-ext-install curl fileinfo gd mbstring mysql mysqli pgsql
WORKDIR /var/www/html

View File

@ -1,7 +1,5 @@
MantisBT is an open source issue tracker that provides a delicate balance between simplicity and power.
WARNING: This is still a work in progress, a successful connection has not been made.
`MantisBT` is an open source issue tracker that provides
a delicate balance between simplicity and power.
## docker-compose.yml
@ -9,7 +7,7 @@ WARNING: This is still a work in progress, a successful connection has not been
mantisbt:
image: vimagick/mantisbt
ports:
- "80:80"
- "8989:80"
links:
- db:mysql
restart: always
@ -28,7 +26,7 @@ db:
$ docker exec -it mantisbt_mantisbt_1 bash
>>> echo 'date.timezone = "Asia/Shanghai"' > /usr/local/etc/php/php.ini
>>> exit
$ firefox http://localhost/admin/install.php
$ firefox http://localhost:8989/admin/install.php
>>> username: administrator
>>> password: root
```

View File

@ -0,0 +1,15 @@
mantisbt:
image: vimagick/mantisbt
ports:
- "8989:80"
links:
- db:mysql
restart: always
db:
image: mysql
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=bugtracker