Compare commits

...

25 Commits

Author SHA1 Message Date
ec68377044 feat(升级版本): 升级版本
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-08 19:33:08 +08:00
5694906c24 feat(升级版本): 升级版本
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-21 22:30:16 +08:00
89a7135230 feat(更新扩展): 更新扩展
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-22 23:35:48 +08:00
5cc08d5bc7 feat(更新版本): 更新版本
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-14 10:54:16 +08:00
8a03d32faf feat(更新组件): 更新组件
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-14 12:41:26 +08:00
a732b4957a feat(升级版本): 升级版本 2024-03-14 12:40:18 +08:00
53e524a529 feat(基础镜像): 更新基础镜像
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-14 06:25:52 +08:00
f53a4d5157 feat(升级版本): 升级版本
All checks were successful
continuous-integration/drone/push Build is passing
2023-11-11 12:58:44 +08:00
2fe86a064e feat(更新版本): 更新版本
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build is passing
2023-09-21 23:06:11 +08:00
d9bdc5a48c feat(更新版本): 更新版本
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-28 20:59:59 +08:00
f0938ae3ed feat(更新镜像): 更新镜像
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-12 15:14:19 +08:00
9a321bb67f feat(更新依赖): 更新依赖 2023-07-12 15:13:04 +08:00
d059699121 feat(升级版本): 升级版本
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-21 13:19:10 +08:00
53967ad157 feat(基础镜像): 更新基础镜像
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-08 13:30:56 +08:00
32bb880f63 fix(升级扩展): 升级扩展
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-18 13:50:25 +08:00
2dc7c9ee9d feat(添加扩展): 添加扩展
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-18 13:44:32 +08:00
c10606a2a5 fix(升级版本): 升级版本 2021-10-18 13:38:37 +08:00
d66bfff8fa docs(更新文档): 更新文档
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-08 18:29:05 +08:00
9f7f829b02 feat(升级版本): 升级版本
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-08 15:24:35 +08:00
596aebeb80 fix(更新版本): 更新版本
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-07 13:35:20 +08:00
b6c60db15d feat(升级版本): 升级版本
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-10 14:45:54 +08:00
23798cccc3 feat(更新版本): 更新版本
All checks were successful
continuous-integration/drone/push Build is passing
2021-03-26 11:13:15 +08:00
b8133aaca9 feat(更新版本): 更新php到7.4.15
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-04 23:54:07 +08:00
3ec7695cc0 docs(更新文档): 更新文档
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-08 15:41:37 +08:00
973f179a36 docs(更新文档): 更新文档 2021-01-08 15:36:58 +08:00
3 changed files with 67 additions and 9 deletions

View File

@ -1,14 +1,26 @@
---
kind: pipeline
type: docker
name: docker
name: default
node:
region: cn
steps:
- name: docker
- name: docker-cn
pull: if-not-exists
image: plugins/docker
settings:
repo: xiaoqidun/pfenv
repo: ccr.ccs.tencentyun.com/xiaoqidun/pfenv
registry: ccr.ccs.tencentyun.com
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: Dockerfile
- name: docker-hk
pull: if-not-exists
image: plugins/docker
settings:
repo: hkccr.ccs.tencentyun.com/xiaoqidun/pfenv
registry: hkccr.ccs.tencentyun.com
username:
from_secret: docker_username
password:

View File

@ -1,16 +1,19 @@
# 基础镜像
FROM php:7.4.14-fpm
FROM php:8.3.12-fpm
# 作者信息
LABEL MAINTAINER="xiaoqidun@gmail.com"
LABEL authors="xiaoqidun"
# 安装扩展
RUN pecl install redis-5.3.2 \
RUN pecl install redis-6.1.0RC1 \
&& docker-php-ext-enable redis
RUN pecl install xdebug-3.0.2 \
RUN pecl install xdebug-3.3.2 \
&& docker-php-ext-enable xdebug
RUN pecl install runkit7-4.0.0a6 \
&& docker-php-ext-enable runkit7
RUN docker-php-ext-install -j$(nproc) \
dba \
exif \

View File

@ -1,2 +1,45 @@
# pfenv
php-fpm environment
# docker
## 拉取镜像
```
docker pull hkccr.ccs.tencentyun.com/xiaoqidun/pfenv:latest
```
## docker-compose
```
version: '3.8'
services:
php-fpm:
image: 'hkccr.ccs.tencentyun.com/xiaoqidun/pfenv'
restart: 'always'
container_name: 'php-fpm'
volumes:
- '/www:/www'
```
# nginx server
```
server {
listen 80;
listen [::]:80;
server_name aite.xyz;
root /www/aite.xyz;
index index.htm index.html index.php default.htm default.html default.php;
autoindex on;
autoindex_localtime on;
autoindex_exact_size on;
location ~ \.php$ {
fastcgi_pass php-fpm:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
```