承接 wartron/yii2docker 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

wartron/yii2docker

Composer 安装命令:

composer require wartron/yii2docker

包简介

Yii2 Docker Module

README 文档

README

This provides a simple Yii2 Module to view and interact with the Docker Remote API. It includes simple grid views for both containers and images.

Installation

Add to the modules in config/main.php

If you are using the advanced template you want to add this to backend/config/main.php

You can override the default layout as well.

'modules'    => [
    'docker'  => [
        'class'         => 'wartron\yii2docker\Module',
        'layout'        => '@admin-views/layouts/main',
    ],
],

Optional Override the views by updating the theme pathMap

'view'         => [
    'theme' => [
        'pathMap' => [
            '@vendor/wartron/yii2docker/views' => '@app/views/docker',
        ],
    ],
],

Configuration

This uses my fork of stage1/docker-php found @ wartron/docker-php which is configued with ENV variables.

  • DOCKER_HOST - defaults to unix:///var/run/docker.sock
  • DOCKER_TLS_VERIFY - defaults to 0
  • DOCKER_CERT_PATH -

统计信息

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

GitHub 信息

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

其他信息

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