neam/dna-project-base-docker-toolkit 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

neam/dna-project-base-docker-toolkit

Composer 安装命令:

composer require neam/dna-project-base-docker-toolkit

包简介

Toolkit for maintaining a Docker-based "one-process-per-container" stack for 12-factor web apps.

README 文档

README

Stacks and images used in production by Neam Labs in order to Develop, Build, Test, Deploy and Maintain PHP+NodeJS-based web applications.

Published as open-source so that they can be used and adapted by other projects, or act as a reference point and inspiration when you set up your own Docker-based stack architecture.

The stacks and images in this repo are verified to work well for both local development and high performance multi-node setups deployed at AWS using Docker Cloud and constantly tweaked to be faster and more reliable.

Requirements

  • docker 17.12.0-ce (17.12.0-ce+ recommended)
  • docker-compose 1.18.0 (1.18.0+ recommended)
  • git

Why use a Docker-based stack in the first place?

Docker stacks allow development teams to weave together web applications written in a any combination of PHP, NodeJS, Java and Python, utilizing Dockerized services (databases, mail servers, task runners, message queues etc).

For the developer

As a member of a developer team, the Docker-based stack enables you to ditch Vagrant/Puppet/Chef while still maintaining a cross-platform local development workflow similar to the powerful npm install + npm start combo for javascript-based apps:

docker-compose run php composer install
docker-compose up

Thus, in any team or project where multiple developers are involved, less time and hassle is necessary to get the project software running locally, and all team members will be running the same versions of the underlying operating system packages.

For dev-ops

Maintain a best-practice Docker-based "one-process-per-container" stack and development workflows for your 12-factor web apps.

The stack can then be deployed to any docker host/swarm or orchestrated via Docker Cloud, providing a high degree of dev/prod parity.

Stacks

Building Docker Stack Images locally

FAQ

What is a stack?

A stack is a collection of services that make up an application in a specific environment. A stack file is a file in YAML format that define one or more services. The YAML reference is documented here.

A stack is a convenient way to automate the deployment of multiple services that are linked to each other, without the need to define one by one.

As stack files also define environment variables and related environment-specific configuration, it is recommended to use one stack file per environment (dev, test, prod...).

License

MIT

Acknowledgements

This repository was co-created with schmunk42, who is nowadays maintaining docker stack images at dmstr.

neam/dna-project-base-docker-toolkit 适用场景与选型建议

neam/dna-project-base-docker-toolkit 是一款 基于 Shell 开发的 Composer 扩展包,目前已累计 26 次下载、GitHub Stars 达 88, 最近一次更新时间为 2015 年 03 月 05 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「php」 「nginx」 「php-fpm」 「docker」 「local-dev」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 neam/dna-project-base-docker-toolkit 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 neam/dna-project-base-docker-toolkit 我们能提供哪些服务?
定制开发 / 二次开发

基于 neam/dna-project-base-docker-toolkit 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 26
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 88
  • 点击次数: 25
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 88
  • Watchers: 4
  • Forks: 6
  • 开发语言: Shell

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-05