1
0
Fork 0
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:
Hans-Joachim Krauch 2018-05-02 20:41:46 +02:00 committed by Anthony Lapenna
parent e8744e8c0b
commit 1e55ada6af
3 changed files with 10 additions and 1 deletions

View file

@ -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 -->