Coder Social home page Coder Social logo

tcyfree / lnmp-docker Goto Github PK

View Code? Open in Web Editor NEW
27.0 2.0 26.0 1.31 MB

Docker for LNMP ( Alpine Linux + PHP7 + Nginx+ Supervisor + Crontab ) 开发环境镜像

Home Page: https://hub.docker.com/r/tcyfree/apnsc

Dockerfile 95.23% PHP 0.39% Shell 4.38%
alpine-linux nginx php-fpm supervisor crontab laravel docker

lnmp-docker's Introduction

#Lnmp-Docker - 快速构建LNMP容器环境

快速构建开发、测试、生产Docker + Alpine + PHP7 + Nginx + Composer + Supervisor + Crontab + Laravel 的Docker 容器应用环境

##主要特性

  • 基于Alpine Linux 最小化Linux环境加速构建镜像。
  • 支持Nginx虚拟站点、SSL证书服务。配置参考Nginx中certconf.d目录文件。

所有的容器基于Alpine Linux,默认使用sh shell,进入容器时使用该命令:

$ docker exec -it container_name sh

构建镜像

git clone https://github.com/tcyfree/lnmp-docker.git
docker build --no-cache -t lnmp-docker:v1 .

启动镜像

docker run -d -p 8096:80 --name=lnmp-docker-v1 lnmp-docker:v1

phpinfo

进入镜像容器内

docker exec -it lnmp-docker-v1 sh

推送镜像

docker login # 先登录

docker tag lnmp-docker:v1 tcyfree/lnmp-docker:v1

docker push tcyfree/lnmp-docker:v1

本镜像地址:https://hub.docker.com/r/tcyfree/lnmp-docker/tags

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.