定制 phpzone/docker 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

phpzone/docker

最新稳定版本:0.2.0

Composer 安装命令:

composer require phpzone/docker

包简介

A Docker command builder configured by YAML, based on PhpZone

README 文档

README

Build Status Scrutinizer Code Quality SensioLabsInsight

Latest Stable Version Total Downloads License

A Docker command builder configured by YAML, based on PhpZone. Its primary purpose is to provide a simple way to define commands for running Docker containers/instances which could be used in daily workflow of every developer. Since now not all developers need to have a knowledge about Docker but still everyone can simply understand what is running. It is not only about the knowledge but also experienced developers can find an advantage in keeping ready-made commands.

This tool is only a configurator and executor of Docker commands, it means applications Docker and Docker Compose are not included.

Basic Usage

An example speaks a hundred words so let’s go through one.

The configuration file below is used for the development of this extension:

Create a phpzone.yml file in the root of a project:

extensions:
    PhpZone\Docker\DockerCompose: # register an extension with a configuration
        db:
            description: Run DB which can be used for running tests
            name: myproject
            file: docker-compose.yml
            command: up

and run:

$ vendor/bin/phpzone db

This will compose a proper Docker Compose command docker-compose -f docker-compose.yml -p myproject up and execute it.

Documentation

For more details visit PhpZone Docker documentation.

统计信息

  • 总下载量: 1.95k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-08