add restart policy
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Robert Kaussow 2020-06-16 22:04:08 +02:00
parent c960f62e22
commit 42c799a2dd
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,7 @@ droneci_version: 1.6.0
droneci_image: "drone/drone:{{ droneci_version }}"
droneci_service_directory: /var/lib/docker/services/droneci
droneci_docker_socket_path: /var/run/docker.sock
droneci_container_name: droneci
droneci_restart_policy: always
droneci_service_stopped: False
@ -76,6 +77,4 @@ droneci_gitea_skip_verify: False
# @var droneci_no_proxy: $ ["drone-server", "drone-agent"]
droneci_no_proxy: []
droneci_docker_socket_path: /var/run/docker.sock
droneci_extra_hosts: []

View File

@ -6,6 +6,7 @@ services:
droneci:
container_name: {{ droneci_container_name }}
image: {{ droneci_image }}
restart: {{ droneci_restart_policy }}
{% if droneci_exposed_ports | default([]) %}
ports:
{% for port in droneci_exposed_ports %}