定制 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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固