From a545055f5c8b2e194fd44fc357f42c663024b9dc Mon Sep 17 00:00:00 2001 From: WilliamMiceli Date: Tue, 12 Mar 2019 13:56:33 -0400 Subject: [PATCH] Config should only start once --- templates/GitLab-Runner/0/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/GitLab-Runner/0/docker-compose.yml b/templates/GitLab-Runner/0/docker-compose.yml index 8475383..b14ef50 100644 --- a/templates/GitLab-Runner/0/docker-compose.yml +++ b/templates/GitLab-Runner/0/docker-compose.yml @@ -33,11 +33,11 @@ services: {{- end}} labels: io.rancher.container.pull_image: always + io.rancher.container.start_once: true {{- if .Values.HOST_LABEL}} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL} {{- end}} traefik.enable: false - restart: on-failure volumes: - /var/run/docker.sock:/var/run/docker.sock - /RancherCattle/${DATA_DIR}:/etc/gitlab-runner