Skip to content

Commit

Permalink
[feta] v1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
telanflow committed Feb 25, 2022
1 parent 3740983 commit 7e4944d
Show file tree
Hide file tree
Showing 29 changed files with 39 additions and 15 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DNMP 1.4
# DNMP 1.4.2

DNMP 可以构建出基于 Docker 的 PHP 开发环境,其优势有在短时间内随意构建不同版本的相关服务、环境统一分布在不同服务器等,使开发者能够更专注于开发业务本身。

Expand All @@ -14,12 +14,12 @@ DNMP 可以构建出基于 Docker 的 PHP 开发环境,其优势有在短时

* Ningx:latest
* PHP56:php-fpm 5.6.x `composer:1.8.0 swoole:1.10.5 redis:4.3.0`
* PHP74:php-fpm 7.4.x `composer:2.1.11 swoole:4.8.5 redis:5.3.5`
* PHP80:php-fpm 8.0.x `composer:2.1.11 swoole:4.8.5 redis:5.3.5`
* PHP81:php-fpm 8.1.x `composer:2.1.11 swoole:4.8.5 redis:5.3.5`
* PHP74:php-fpm 7.4.x `composer:2.1.11 swoole:4.8.7 redis:5.3.7 mongodb:1.12.1`
* PHP80:php-fpm 8.0.x `composer:2.1.11 swoole:4.8.7 redis:5.3.7 mongodb:1.12.1`
* PHP81:php-fpm 8.1.x `composer:2.1.11 swoole:4.8.7 redis:5.3.7 mongodb:1.12.1`
* MySQL:5.7
* Redis:latest `默认密码:dnmp`
* Mogodb: latest `默认验证数据库:admin;账号:admin;密码:admin`
* Mogodb: latest `默认验证数据库:admin 账号:admin 密码:admin`
* ~~ElasticSearch:7.1.1~~

### 目录结构
Expand Down
14 changes: 11 additions & 3 deletions build/php74/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ COPY resource /home/resource
ARG CHANGE_SOURCE=true
ARG TIME_ZONE=UTC

ARG SWOOLE=swoole-4.8.5.tgz
ARG REDIS=redis-5.3.5.tgz
ARG MongoDB=mongodb-1.12.1.tgz
ARG OPEN_SWOOLE=openswoole-4.10.0.tgz
ARG SWOOLE=swoole-4.8.7.tgz
ARG REDIS=redis-5.3.7.tgz
ARG MCRYPT=mcrypt-1.0.4.tgz
ARG XDEBUG=xdebug-3.1.3.tgz

ENV TIME_ZONE=${TIME_ZONE} LC_ALL=C.UTF-8

Expand Down Expand Up @@ -88,11 +91,16 @@ RUN docker-php-ext-configure gd \
pecl install imagick && docker-php-ext-enable imagick; \
\
# ⬇ MongoDB
pecl install mongodb && docker-php-ext-enable mongodb; \
pecl install /home/resource/$MongoDB ; \
echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongodb.ini ; \
\
# ⬇ Redis
pecl install /home/resource/$REDIS ; \
echo "extension=redis.so" > /usr/local/etc/php/conf.d/redis.ini ; \
# \
# # ⬇ Open Swoole
# pecl install /home/resource/$OPEN_SWOOLE ; \
# echo "extension=openswoole.so" > /usr/local/etc/php/conf.d/openswoole.ini ; \
\
# ⬇ Swoole
pecl install /home/resource/$SWOOLE ; \
Expand Down
Binary file added build/php74/resource/mongodb-1.12.1.tgz
Binary file not shown.
Binary file added build/php74/resource/openswoole-4.10.0.tgz
Binary file not shown.
Binary file removed build/php74/resource/redis-5.3.5.tgz
Binary file not shown.
Binary file added build/php74/resource/redis-5.3.7.tgz
Binary file not shown.
Binary file removed build/php74/resource/swoole-4.8.5.tgz
Binary file not shown.
Binary file added build/php74/resource/swoole-4.8.7.tgz
Binary file not shown.
Binary file removed build/php74/resource/xdebug-3.1.2.tgz
Binary file not shown.
Binary file added build/php74/resource/xdebug-3.1.3.tgz
Binary file not shown.
14 changes: 11 additions & 3 deletions build/php80/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ COPY resource /home/resource
ARG CHANGE_SOURCE=true
ARG TIME_ZONE=UTC

ARG SWOOLE=swoole-4.8.5.tgz
ARG REDIS=redis-5.3.5.tgz
ARG MongoDB=mongodb-1.12.1.tgz
ARG OPEN_SWOOLE=openswoole-4.10.0.tgz
ARG SWOOLE=swoole-4.8.7.tgz
ARG REDIS=redis-5.3.7.tgz
ARG MCRYPT=mcrypt-1.0.4.tgz
ARG XDEBUG=xdebug-3.1.3.tgz

ENV TIME_ZONE=${TIME_ZONE} LC_ALL=C.UTF-8

Expand Down Expand Up @@ -88,11 +91,16 @@ RUN docker-php-ext-configure gd \
pecl install imagick && docker-php-ext-enable imagick; \
\
# ⬇ MongoDB
pecl install mongodb && docker-php-ext-enable mongodb; \
pecl install /home/resource/$MongoDB ; \
echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongodb.ini ; \
\
# ⬇ Redis
pecl install /home/resource/$REDIS ; \
echo "extension=redis.so" > /usr/local/etc/php/conf.d/redis.ini ; \
# \
# # ⬇ Open Swoole
# pecl install /home/resource/$OPEN_SWOOLE ; \
# echo "extension=openswoole.so" > /usr/local/etc/php/conf.d/openswoole.ini ; \
\
# ⬇ Swoole
pecl install /home/resource/$SWOOLE ; \
Expand Down
Binary file added build/php80/resource/mongodb-1.12.1.tgz
Binary file not shown.
Binary file added build/php80/resource/openswoole-4.10.0.tgz
Binary file not shown.
Binary file removed build/php80/resource/redis-5.3.5.tgz
Binary file not shown.
Binary file added build/php80/resource/redis-5.3.7.tgz
Binary file not shown.
Binary file removed build/php80/resource/swoole-4.8.5.tgz
Binary file not shown.
Binary file added build/php80/resource/swoole-4.8.7.tgz
Binary file not shown.
Binary file removed build/php80/resource/xdebug-3.1.2.tgz
Binary file not shown.
Binary file added build/php80/resource/xdebug-3.1.3.tgz
Binary file not shown.
14 changes: 11 additions & 3 deletions build/php81/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ COPY resource /home/resource
ARG CHANGE_SOURCE=true
ARG TIME_ZONE=UTC

ARG SWOOLE=swoole-4.8.5.tgz
ARG REDIS=redis-5.3.5.tgz
ARG MongoDB=mongodb-1.12.1.tgz
ARG OPEN_SWOOLE=openswoole-4.10.0.tgz
ARG SWOOLE=swoole-4.8.7.tgz
ARG REDIS=redis-5.3.7.tgz
ARG MCRYPT=mcrypt-1.0.4.tgz
ARG XDEBUG=xdebug-3.1.3.tgz

ENV TIME_ZONE=${TIME_ZONE} LC_ALL=C.UTF-8

Expand Down Expand Up @@ -88,11 +91,16 @@ RUN docker-php-ext-configure gd \
pecl install imagick && docker-php-ext-enable imagick; \
\
# ⬇ MongoDB
pecl install mongodb && docker-php-ext-enable mongodb; \
pecl install /home/resource/$MongoDB ; \
echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongodb.ini ; \
\
# ⬇ Redis
pecl install /home/resource/$REDIS ; \
echo "extension=redis.so" > /usr/local/etc/php/conf.d/redis.ini ; \
# \
# # ⬇ Open Swoole
# pecl install /home/resource/$OPEN_SWOOLE ; \
# echo "extension=openswoole.so" > /usr/local/etc/php/conf.d/openswoole.ini ; \
\
# ⬇ Swoole
pecl install /home/resource/$SWOOLE ; \
Expand Down
Binary file added build/php81/resource/mongodb-1.12.1.tgz
Binary file not shown.
Binary file added build/php81/resource/openswoole-4.10.0.tgz
Binary file not shown.
Binary file removed build/php81/resource/redis-5.3.5.tgz
Binary file not shown.
Binary file added build/php81/resource/redis-5.3.7.tgz
Binary file not shown.
Binary file removed build/php81/resource/swoole-4.8.5.tgz
Binary file not shown.
Binary file added build/php81/resource/swoole-4.8.7.tgz
Binary file not shown.
Binary file removed build/php81/resource/xdebug-3.1.2.tgz
Binary file not shown.
Binary file added build/php81/resource/xdebug-3.1.3.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion www/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

<p align="center" class="mine">
<span>DNMP</span>
<span class="subtitle">v1.4</span>
<span class="subtitle">v1.4.2</span>
</p>

<div class="desc" align="center">
Expand Down

0 comments on commit 7e4944d

Please sign in to comment.