mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-21 01:27:01 +02:00
update mantisbt
This commit is contained in:
parent
9d94a8a87a
commit
6de1e73bef
@ -2,8 +2,8 @@
|
||||
# Dockerfile for mantisbt
|
||||
#
|
||||
|
||||
FROM php:5.6-apache
|
||||
MAINTAINER kev <noreply@easypi.pro>
|
||||
FROM php:7.2-apache
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN a2enmod rewrite
|
||||
|
||||
@ -14,10 +14,10 @@ RUN set -xe \
|
||||
&& docker-php-ext-install gd mbstring mysql mysqli pgsql soap \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV MANTIS_VER 2.22.1
|
||||
ENV MANTIS_MD5 ced6493cb2c1ea6bbf8b95b5082e7d98
|
||||
ENV MANTIS_URL https://sourceforge.net/projects/mantisbt/files/mantis-stable/${MANTIS_VER}/mantisbt-${MANTIS_VER}.tar.gz
|
||||
ENV MANTIS_FILE mantisbt.tar.gz
|
||||
ENV MANTIS_VERSION=2.25.0
|
||||
ENV MANTIS_MD5=a3e4b5c4f91b5d04c37122650cb1189d
|
||||
ENV MANTIS_URL=https://sourceforge.net/projects/mantisbt/files/mantis-stable/${MANTIS_VERSION}/mantisbt-${MANTIS_VERSION}.tar.gz
|
||||
ENV MANTIS_FILE=mantisbt.tar.gz
|
||||
|
||||
RUN set -xe \
|
||||
&& curl -fSL ${MANTIS_URL} -o ${MANTIS_FILE} \
|
||||
|
@ -7,24 +7,28 @@ a delicate balance between simplicity and power.
|
||||
## docker-compose.yml
|
||||
|
||||
```yaml
|
||||
mantisbt:
|
||||
image: vimagick/mantisbt:latest
|
||||
ports:
|
||||
- "8989:80"
|
||||
links:
|
||||
- mysql
|
||||
restart: always
|
||||
version: "3.8"
|
||||
|
||||
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
|
||||
services:
|
||||
|
||||
mantisbt:
|
||||
image: vimagick/mantisbt
|
||||
ports:
|
||||
- "8989:80"
|
||||
depends_on:
|
||||
- mysql
|
||||
restart: unless-stopped
|
||||
|
||||
mysql:
|
||||
image: mysql
|
||||
volumes:
|
||||
- ./data:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=root
|
||||
- MYSQL_DATABASE=bugtracker
|
||||
- MYSQL_USER=mantis
|
||||
- MYSQL_PASSWORD=mantis
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
> You can use `mariadb`/`postgres` instead of `mysql`.
|
||||
|
@ -1,18 +1,22 @@
|
||||
mantisbt:
|
||||
image: vimagick/mantisbt:latest
|
||||
ports:
|
||||
- "8989:80"
|
||||
links:
|
||||
- mysql
|
||||
restart: always
|
||||
version: "3.8"
|
||||
|
||||
mysql:
|
||||
image: mysql:5.7
|
||||
volumes:
|
||||
- ./data:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=root
|
||||
- MYSQL_DATABASE=bugtracker
|
||||
- MYSQL_USER=mantis
|
||||
- MYSQL_PASSWORD=mantis
|
||||
restart: always
|
||||
services:
|
||||
|
||||
mantisbt:
|
||||
image: vimagick/mantisbt
|
||||
ports:
|
||||
- "8989:80"
|
||||
depends_on:
|
||||
- mysql
|
||||
restart: unless-stopped
|
||||
|
||||
mysql:
|
||||
image: mysql
|
||||
volumes:
|
||||
- ./data:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=root
|
||||
- MYSQL_DATABASE=bugtracker
|
||||
- MYSQL_USER=mantis
|
||||
- MYSQL_PASSWORD=mantis
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user