mount license key if defined
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-01-11 22:32:22 +01:00
parent 8122f3389a
commit 244a919ef5
2 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,8 @@ droneci_service_directory: /var/lib/docker/services/drone-ci
droneci_docker_socket_path: /var/run/docker.sock
droneci_host: http://localhost
droneci_secret: myveryownsecret
# Path to the license key file
# droneci_license_key: # defaults to not set
droneci_server_image: "drone/drone:{{ droneci_version }}"
droneci_server_restart_policy: always

View File

@ -11,6 +11,9 @@ services:
{% if not droneci_postgres_enabled %}
volumes:
- droneserver-data:/var/lib/drone/
{% if droneci_license_key is defined %}
- {{ droneci_license_key }}:/etc/drone.key
{% endif %}
{% endif %}
{% if droneci_server_extra_hosts | default([]) %}
extra_hosts: