From f71b202b28525a89075689203b3b605151134ce3 Mon Sep 17 00:00:00 2001 From: don sizemore Date: Mon, 2 May 2016 13:26:47 -0400 Subject: [PATCH] #31 adding templeton containers to compose.yaml template --- .../roles/docker/templates/compose.yaml.j2 | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/ansible/roles/docker/templates/compose.yaml.j2 b/ansible/roles/docker/templates/compose.yaml.j2 index 9d269cfb5..9f9c56aa6 100644 --- a/ansible/roles/docker/templates/compose.yaml.j2 +++ b/ansible/roles/docker/templates/compose.yaml.j2 @@ -94,6 +94,10 @@ config_saved_searches: image: {{ docker.registry.base }}/config_{{compose.de_env}}:{{compose.de_tag}} container_name: config-saved-searches +config_templeton_periodic: + image: {{ docker.registry.base }}/config_{{compose.de_env}}:{{compose.de_tag}} + container_name: config-templeton-periodic + config_terrain: image: {{ docker.registry.base }}/config_{{compose.de_env}}:{{compose.de_tag}} container_name: config-terrain @@ -319,7 +323,7 @@ iplant_email: iplant_groups: image: {{iplant_groups_docker_repo}}/{{iplant_groups.image_name}}:{{compose.de_tag}} - container_name: iplant-groups + container_name: {{iplant_groups.image_name}} command: --config /etc/iplant/de/iplant-groups.properties restart: on-failure:3 environment: @@ -439,6 +443,22 @@ saved_searches: - /etc/localtime:/etc/localtime - /etc/timezone:/etc/timezone +templeton_periodic: + image: discoenv/templeton:{{compose.de_tag}} + container_name: templeton-periodic + command: --mode periodic --config /etc/iplant/de/templeton-periodic.properties + restart: on-failure:3 + #ports: + # - "{{templeton_periodic.port}}:60000" + log_driver: "syslog" + log_opt: + syslog-tag: templeton + volumes_from: + - config_templeton_periodic + volumes: + - /etc/localtime:/etc/localtime + - /etc/timezone:/etc/timezone + terrain: image: discoenv/terrain:{{compose.de_tag}} container_name: terrain