refactoring #1

Merged
xoxys merged 10 commits from refactoring into master 2020-06-22 21:29:31 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 42c799a2dd - Show all commits

View File

@ -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: []

View File

@ -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 %}