mirror of https://github.com/portainer/portainer
parent
e0b94e4ff7
commit
c5552d1b8e
|
@ -23,6 +23,7 @@ function ($scope, $state, $stateParams, $filter, Config, Info, Container, Contai
|
|||
Name: 'no'
|
||||
},
|
||||
PortBindings: [],
|
||||
PublishAllPorts: false,
|
||||
Binds: [],
|
||||
NetworkMode: 'bridge',
|
||||
Privileged: false
|
||||
|
|
|
@ -64,6 +64,11 @@
|
|||
<div class="form-group">
|
||||
<label for="container_ports" class="col-sm-1 control-label text-left">Port mapping</label>
|
||||
<div class="col-sm-11">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" ng-model="config.HostConfig.PublishAllPorts"> Publish all exposed ports
|
||||
</label>
|
||||
</div>
|
||||
<span class="label label-default interactive" ng-click="addPortBinding()">
|
||||
<i class="fa fa-plus-circle" aria-hidden="true"></i> map port
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue