allow extra hosts

This commit is contained in:
Robert Kaussow 2018-12-14 01:23:33 +01:00
parent e5f792e9d2
commit 74866bf4a4

View File

@ -13,6 +13,9 @@ services:
volumes:
- droneserver-data:/var/lib/drone/
{% endif %}
{% if droneci_server_extra_hosts | default([]) %}
extra_hosts: {{ droneci_server_extra_hosts | wrap }}
{% endif %}
restart: {{ droneci_server_restart_policy }}
environment:
- DRONE_OPEN=true