refactoring #1
@ -3,6 +3,7 @@ droneci_version: 1.6.0
|
|||||||
droneci_image: "drone/drone:{{ droneci_version }}"
|
droneci_image: "drone/drone:{{ droneci_version }}"
|
||||||
|
|
||||||
droneci_service_directory: /var/lib/docker/services/droneci
|
droneci_service_directory: /var/lib/docker/services/droneci
|
||||||
|
droneci_docker_socket_path: /var/run/docker.sock
|
||||||
droneci_container_name: droneci
|
droneci_container_name: droneci
|
||||||
droneci_restart_policy: always
|
droneci_restart_policy: always
|
||||||
droneci_service_stopped: False
|
droneci_service_stopped: False
|
||||||
@ -76,6 +77,4 @@ droneci_gitea_skip_verify: False
|
|||||||
|
|
||||||
# @var droneci_no_proxy: $ ["drone-server", "drone-agent"]
|
# @var droneci_no_proxy: $ ["drone-server", "drone-agent"]
|
||||||
droneci_no_proxy: []
|
droneci_no_proxy: []
|
||||||
|
|
||||||
droneci_docker_socket_path: /var/run/docker.sock
|
|
||||||
droneci_extra_hosts: []
|
droneci_extra_hosts: []
|
||||||
|
@ -6,6 +6,7 @@ services:
|
|||||||
droneci:
|
droneci:
|
||||||
container_name: {{ droneci_container_name }}
|
container_name: {{ droneci_container_name }}
|
||||||
image: {{ droneci_image }}
|
image: {{ droneci_image }}
|
||||||
|
restart: {{ droneci_restart_policy }}
|
||||||
{% if droneci_exposed_ports | default([]) %}
|
{% if droneci_exposed_ports | default([]) %}
|
||||||
ports:
|
ports:
|
||||||
{% for port in droneci_exposed_ports %}
|
{% for port in droneci_exposed_ports %}
|
||||||
|
Loading…
Reference in New Issue
Block a user