Go to file
xiaoqidun f53a4d5157
All checks were successful
continuous-integration/drone/push Build is passing
feat(升级版本): 升级版本
2023-11-11 12:58:44 +08:00
.drone.yml feat(更新镜像): 更新镜像 2023-07-12 15:14:19 +08:00
.gitignore feat(初始项目): 初始项目 2021-01-08 15:07:35 +08:00
Dockerfile feat(升级版本): 升级版本 2023-11-11 12:58:44 +08:00
LICENSE Initial commit 2021-01-08 14:59:58 +08:00
README.md docs(更新文档): 更新文档 2021-09-08 18:29:05 +08:00

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;
    }
}