All Projects → helingfeng → Docker Lnmp

helingfeng / Docker Lnmp

Licence: other
🔥 Mac/Linux Docker LNMP

Projects that are alternatives of or similar to Docker Lnmp

docker lnmp
一键部署基于docker的LAMP环境,并利用electron + vue 提供gui管理。+++ 可配置的多进程php扩展安装
Stars: ✭ 37 (-80.42%)
Mutual labels:  mac, lnmp
Portainer Compose
Compose setup for Portainer
Stars: ✭ 408 (+115.87%)
Mutual labels:  docker-compose, portainer
Portainer
Making Docker and Kubernetes management easy.
Stars: ✭ 20,434 (+10711.64%)
Mutual labels:  docker-compose, portainer
Lnmp
💻 🐳 🐘 🐬 🐧 🚀 Start Docker LNMP(LEMP) In less than 2 minutes Powered by Docker Compose. 让 PHP 开发者快速(一键)搭建基于容器技术(Docker、Kubernetes)的开发、测试、生产(CI/CD by Drone)环境.
Stars: ✭ 341 (+80.42%)
Mutual labels:  lnmp, docker-compose
Jadedock
使用 Docker 快速部署简易的 Ngixn + PHP + MySQL + Redis 环境(可开发、可线上运行)
Stars: ✭ 109 (-42.33%)
Mutual labels:  lnmp, docker-compose
Goldenpassport
A native implementation of Google Authenticator for Mac based on Swift
Stars: ✭ 251 (+32.8%)
Mutual labels:  google, mac
Swarmlet
A self-hosted, open-source Platform as a Service that enables easy swarm deployments, load balancing, automatic SSL, metrics, analytics and more.
Stars: ✭ 373 (+97.35%)
Mutual labels:  docker-compose, portainer
Server
docker从入门到自动化构建php环境
Stars: ✭ 208 (+10.05%)
Mutual labels:  lnmp, docker-compose
Dockerize Your Dev
Docker compose a VM to get LetsEncrypt / NGINX proxy auto provisioning, ELK logging, Prometheus / Grafana monitoring, Portainer GUI, and more...
Stars: ✭ 61 (-67.72%)
Mutual labels:  docker-compose, portainer
Googletranslate
🌐 Google 翻译 Mac 客户端
Stars: ✭ 688 (+264.02%)
Mutual labels:  google, mac
Micro Auth
A microservice that makes adding authentication with Google and Github to your application easy.
Stars: ✭ 466 (+146.56%)
Mutual labels:  google, docker-compose
Google Messages For Desktop
A "native-like" OS X, Windows, & Linux desktop app for Google Messages
Stars: ✭ 140 (-25.93%)
Mutual labels:  google, mac
Docker
最新lnmp环境,包含php, java,nginx, mysql, go, node, mongodb, openssh server, redis, crond xhprof,maven等服务
Stars: ✭ 120 (-36.51%)
Mutual labels:  lnmp, docker-compose
Docker Portainer Letsencrypt
Portainer docker container over SSL Certificate using Let's Encrypt automated by our webproxy docker-compose-letsencrypt-nginx-proxy
Stars: ✭ 141 (-25.4%)
Mutual labels:  docker-compose, portainer
Haxegon
A haxe programming library for beginners. Powered by OpenFL and Starling.
Stars: ✭ 182 (-3.7%)
Mutual labels:  mac
Mac Keyboard Brightness
🔆 Programmatically get & set the keyboard & display backlight brightness on Macs. Flash your keyboard to the music! (only works on <2015 Macs)
Stars: ✭ 185 (-2.12%)
Mutual labels:  mac
React Native Dialogflow
A React-Native Bridge for the Google Dialogflow (API.AI) SDK
Stars: ✭ 182 (-3.7%)
Mutual labels:  google
Swarmstack
A Docker swarm-based starting point for operating highly-available containerized applications.
Stars: ✭ 181 (-4.23%)
Mutual labels:  portainer
Macos Egpu Cuda Guide
Set up CUDA for machine learning (and gaming) on macOS using a NVIDIA eGPU
Stars: ✭ 187 (-1.06%)
Mutual labels:  mac
Google Ctf
Google CTF
Stars: ✭ 2,591 (+1270.9%)
Mutual labels:  google

demo-portainer.jpg

第一步,安装依赖工具

  • Git // brew install git
  • Docker [https://docs.docker.com/install/]
  • Docker-compose [https://docs.docker.com/compose/install/#install-compose]

第二步,获取项目代码

$ git clone https://github.com/helingfeng/Docker-LNMP.git

第三步,运行容器编排

$ cd Docker-LNMP   // 进入项目根目录
$ docker-compose up -d   // 容器编排命令

启用服务,第一次需要构建镜像

第四步,测试服务访问

http://127.0.0.1/ (可配置强制跳转 https)

https://127.0.0.1/ (由于证书不安全,所以需要点击继续访问)

http://127.0.0.1:9000 (访问 Docker GUI 管理工具)

CLI 运行模式(内置服务)

  • 首先,自定义构建 PHP-CLI 镜像,安装 GitComposerSwoole 等扩展和工具
# 构建镜像
docker build -t php2-cli ./php-cli/php72
  • 启动 Demo 示例
# cd your_project_path
cd www/demo

# 运行服务 `demo` 项目
docker run -it --rm --name www-demo \
    -p 8001:8001 \
    -v "$PWD":/usr/workspaces/project \
    -w /usr/workspaces/project \
    php2-cli \
    php -S 0.0.0.0:8001
  • 启动 Laravel 示例
# cd your_project_path
cd project

# composer install
docker run -it --rm --name www-laravel \
    -v "$PWD":/usr/workspaces/project \
    -w /usr/workspaces/project \
    php2-cli \
    composer install

# php aritsan cache:clear
docker run -it --rm --name www-laravel \
    -v "$PWD":/usr/workspaces/project \
    -w /usr/workspaces/project \
    php2-cli \
    php artisan cache:clear
    
# php artisan serve
docker run -it --rm --name www-laravel \
    -p 8001:8001 \
    -v "$PWD":/usr/workspaces/project \
    -w /usr/workspaces/project \
    php2-cli \
    php artisan serve --host=0.0.0.0 --port=8001
  • 启动 Laravel-Swoole 示例
# 配置 host 要修改为 0.0.0.0
# php artisan serve
docker run -it --rm --name www-laravel \
    -p 1215:1215 \
    -v "$PWD":/usr/workspaces/project \
    -w /usr/workspaces/project \
    php2-cli \
    php artisan swoole:http start
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].