Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

devops

NotificationsYou must be signed in to change notification settings

gtsigner/docker-lnmp-redis

Repository files navigation

docker 的开发环境和线上生产环境

Containers

  • 1.nginx
  • 2.mysql-db
  • 3.redis-db
  • 4.php-fpm
  • 5.composer
  • 6.bower
  • 7.visualizer

其中不需要的镜像可以注释掉

QuickStart

Install Docker

安装Docker Ce

$bash ./app/tools/docker-installer.sh

Install docker-compose

$cp ./docker-compose /usr/local/bin/$chmod +x /usr/lcoal/bin/docker-compose

Usage

默认启动方式,这种方式适用于本地测试开发环境,暴漏了数据库端口redis端口方便调试1.docker-compose up --build

部署环境2.

backup data

导入默认的测试数据

$docker-compose -f db-backup.yml up

restore data

还原default备份数据

$docker-compose -f db-restore.yml up

启动构建项目依耐工具

$docker-compose -f docker-build.yml up

Future

  1. project-cli 生成架构工具

  2. 集群部署

  3. gitlab gitlab-runner 实现CI CD

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp