Giter Club home page Giter Club logo

unraid-plugin-composerize's Introduction

unraid-plugin-composerize's People

Contributors

llalon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dialloamadou

unraid-plugin-composerize's Issues

erroneous semi-colon in URL

When clicking on the composerize icon in the plugins section, there's an erroneous semi-colon at the end of the href that prevents composerize from loading until you remove it from the URL. For example, my unraid machine is 192.168.0.20, and the URL I'm taken to when clicking on composerize is:

"http://192.168.0.20/Settings/Composerize;"

Nothing loads there, but if I remove the semi-colon I'm able to use the plugin.

Access network_node using DockerClient and DockerUtil::network

include/Composerize.php:

<?php

$docroot = $docroot ?? $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';

require_once("$docroot/plugins/composerize/include/Definitions.php");
require_once("$docroot/plugins/composerize/include/Util.php");
require_once("$docroot/plugins/dynamix.docker.manager/include/DockerClient.php");

$custom = DockerUtil::custom();
$subnet = DockerUtil::network($custom);

require_once("$docroot/plugins/dynamix.docker.manager/include/Helpers.php"); // From dynamic docker plugin

That will allow the network_mode to be set to the network setting in unraids docker ui. However it's not wrapped in quotes nor is there an entry a the bottom declaring the network. That seems to be an issue with composerize itself though, their own websites utility spits out the same unquoted string and no network defined.

Edit: Also just noticed it brings up the ports assignments.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.