Commit 25ef8025 authored by MUSSET Paul's avatar MUSSET Paul
Browse files

[ansible]change containers restart policy

parent 8c46ebcd
......@@ -2,7 +2,7 @@ version: '3.8'
services:
xcache:
image: gitlab-registry.in2p3.fr/cc-escape/xcache-config/xcache:dev
image: gitlab-registry.in2p3.fr/cc-escape/xcache-config/xcache:xrootd5
ports:
- "1094:1094"
{% if auth is defined and auth %}
......@@ -36,7 +36,7 @@ services:
target: xrdkey.pem
mode: 0400
{% endif %}
restart: always
restart: unless-stopped
{% if auth is defined and auth %}
voms-renewer:
......@@ -54,7 +54,7 @@ services:
- source: key
target: xrdkey.pem
mode: 0400
restart: always
restart: unless-stopped
{% endif %}
{% if test_machine is defined and test_machine %}
......@@ -76,7 +76,7 @@ services:
source: {{ directory.path }}
target: {{ directory.path }}
{% endfor %}
restart: always
restart: unless-stopped
environment:
FLUSHER_DIR: /mnt/xcache/ns/,/mnt/xcache/metadata/meta,{% for directory in disks_list.files %}{{ directory.path }}/data{%- if not loop.last %},{% endif %}{% endfor %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment