Config should only start once
This commit is contained in:
@@ -33,11 +33,11 @@ services:
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
labels:
|
labels:
|
||||||
io.rancher.container.pull_image: always
|
io.rancher.container.pull_image: always
|
||||||
|
io.rancher.container.start_once: true
|
||||||
{{- if .Values.HOST_LABEL}}
|
{{- if .Values.HOST_LABEL}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
traefik.enable: false
|
traefik.enable: false
|
||||||
restart: on-failure
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /RancherCattle/${DATA_DIR}:/etc/gitlab-runner
|
- /RancherCattle/${DATA_DIR}:/etc/gitlab-runner
|
||||||
|
|||||||
Reference in New Issue
Block a user