fix volumes in compose file
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-01-11 22:48:24 +01:00
parent b8dc6eb71a
commit 4b0454a3a8

View File

@ -8,13 +8,13 @@ services:
ports: ports:
- {{ droneci_server_exposed_ip + ':' if droneci_server_exposed_ip is defined else '' }}{{ droneci_server_exposed_port }}:80 - {{ droneci_server_exposed_ip + ':' if droneci_server_exposed_ip is defined else '' }}{{ droneci_server_exposed_port }}:80
{% if not droneci_postgres_enabled %}
volumes: volumes:
{% if not droneci_postgres_enabled %}
- droneserver-data:/var/lib/drone/ - droneserver-data:/var/lib/drone/
{% endif %}
{% if droneci_license_key is defined %} {% if droneci_license_key is defined %}
- {{ droneci_license_key }}:/etc/drone.key - {{ droneci_license_key }}:/etc/drone.key
{% endif %} {% endif %}
{% endif %}
{% if droneci_server_extra_hosts | default([]) %} {% if droneci_server_extra_hosts | default([]) %}
extra_hosts: extra_hosts:
{% for host in droneci_server_extra_hosts %} {% for host in droneci_server_extra_hosts %}