mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
fix
This commit is contained in:
parent
8d2545242d
commit
7f25909f7c
@ -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
|
||||
|
||||
|
@ -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
|
||||
```
|
||||
|
15
mantisbt/docker-compose.yml
Normal file
15
mantisbt/docker-compose.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user