mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 15:25:22 +02:00
feat(templates): allow to set hostname in container templates (#1833)
This commit is contained in:
parent
e8744e8c0b
commit
1e55ada6af
3 changed files with 10 additions and 1 deletions
|
@ -314,6 +314,14 @@
|
|||
<!-- !labels-input-list -->
|
||||
</div>
|
||||
<!-- !Label -->
|
||||
<!-- hostname -->
|
||||
<div class="form-group">
|
||||
<label for="container_hostname" class="col-sm-2 control-label text-left">Hostname</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" name="container_hostname" class="form-control" ng-model="state.selectedTemplate.Hostname" placeholder="leave empty to use docker default">
|
||||
</div>
|
||||
</div>
|
||||
<!-- !hostname -->
|
||||
</div>
|
||||
<!-- !advanced-options -->
|
||||
<!-- actions -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue