From 310603f173a72bb7ac5a107d08108707b357a980 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Tue, 15 Jan 2019 10:24:30 +0100 Subject: [PATCH] chg: [mattermost,odoo-tecnativa,rancher-agent,rancher,traefik] restart policy is now automatically set for non run-once services. --- mattermost/metadata.yml | 3 --- odoo-tecnativa/metadata.yml | 1 - rancher-agent/metadata.yml | 1 - rancher/metadata.yml | 2 -- traefik/metadata.yml | 1 - 5 files changed, 8 deletions(-) diff --git a/mattermost/metadata.yml b/mattermost/metadata.yml index 9d1c79d..ebddceb 100644 --- a/mattermost/metadata.yml +++ b/mattermost/metadata.yml @@ -12,9 +12,6 @@ data-resources: host-resources: - /etc/localtime:ro -docker-compose: - restart: unless-stopped - uses: postgres-database: constraint: required diff --git a/odoo-tecnativa/metadata.yml b/odoo-tecnativa/metadata.yml index 99d0a56..8ab1399 100644 --- a/odoo-tecnativa/metadata.yml +++ b/odoo-tecnativa/metadata.yml @@ -14,7 +14,6 @@ docker-compose: tty: true environment: INITIAL_LANG: fr_FR - restart: unless-stopped uses: postgres-database: diff --git a/rancher-agent/metadata.yml b/rancher-agent/metadata.yml index 245bd45..4ec1e44 100644 --- a/rancher-agent/metadata.yml +++ b/rancher-agent/metadata.yml @@ -5,7 +5,6 @@ docker-image: rancher/rancher-agent:v2.0.2 compatiblity: ## 'hooks/install' script was run on a these images without issues # - ubuntu/15.10 docker-compose: - restart: unless-stopped privileged: true network_mode: host host-resources: diff --git a/rancher/metadata.yml b/rancher/metadata.yml index 4e6607a..595f99f 100644 --- a/rancher/metadata.yml +++ b/rancher/metadata.yml @@ -6,5 +6,3 @@ compatiblity: ## 'hooks/install' script was run on a these images without issues # - ubuntu/15.10 config-resources: - /var/lib/rancher -docker-compose: - restart: unless-stopped \ No newline at end of file diff --git a/traefik/metadata.yml b/traefik/metadata.yml index ca7544c..9f476cf 100644 --- a/traefik/metadata.yml +++ b/traefik/metadata.yml @@ -3,7 +3,6 @@ maintainer: "Valentin Lab " ## XXXvlab: docker uses the 'build' directory or the 'image:' option here. docker-image: traefik docker-compose: - restart: unless-stopped command: --api --docker ## Enables the web UI and tells Træfik to listen to docker ports: - "80:80" ## The HTTP port