mount license key if defined
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8122f3389a
commit
244a919ef5
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user