在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:auto-dockerfile开源软件地址:https://gitee.com/monlone/auto-dockerfile开源软件介绍:IntroductionDeploy lnmp(Linux, Nginx, MySQL, PHP7) using docker. I want to share my ideas and designs about Web-Deploying using Docker with you. ArchitectureThe whole app is divided into three Containers:
Our app scripts are located on host, you can edit files directly without rebuilding/restarting whole images/containers. Build and RunAt first, you should have had Docker and Docker Compose installed. Without building images one by one, you can make use of $ sudo docker-compose up For more operations to containers, please refer to: $ sudo docker-compose --help Check out your https://<docker-host> and have fun ###注: 代码放到 /data/www目录下,nginx的配置放到 /data/nginx/conf.d/ 目录下,参考defult.conf直接运行start.sh就好啦。要想开启ssl模式,把default.conf第3到第8行注释去掉方可开启localhhost的https了,其它类似。 ContributorsMicooz [email protected] sndnvaps [email protected] LicenseMIT |
请发表评论