mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 13:55:21 +02:00
Changed: Show automatic port bindings when PublishAllPorts is set.
This commit is contained in:
parent
a33123469a
commit
bfe9038630
1 changed files with 11 additions and 1 deletions
|
@ -133,7 +133,17 @@
|
|||
|
||||
<tr>
|
||||
<td>Publish All:</td>
|
||||
<td>{{ container.HostConfig.PublishAllPorts }}</td>
|
||||
<td>
|
||||
<div>{{ container.HostConfig.PublishAllPorts }}</div>
|
||||
<div ng-show="container.HostConfig.PublishAllPorts">
|
||||
<ul>
|
||||
<li ng-repeat="(containerport, hostports) in container.NetworkSettings.Ports">
|
||||
{{ containerport }} =>
|
||||
<span class="label label-default" style="margin-right: 5px;" ng-repeat="(k,v) in hostports">{{ v.HostIp }}:{{ v.HostPort }}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Ports:</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue