Commit 9f171a96 authored by MUSSET Paul's avatar MUSSET Paul
Browse files

[docker] automatically restart container

parent 60d5ec65
version: '3.8'
services:
xcache-certificate-standalone:
xcache:
image: gitlab-registry.in2p3.fr/cc-escape/xcache-config/xcache:dev
ports:
- "1094:1094"
......@@ -32,6 +32,7 @@ services:
- source: key
target: xrdkey.pem
mode: 0400
restart: always
voms-renewer:
image: gitlab-registry.in2p3.fr/cc-escape/xcache-config/voms-proxy-init:dev
......@@ -48,12 +49,16 @@ services:
- source: key
target: xrdkey.pem
mode: 0400
restart: always
{% if test_machine is defined and test_machine %}
flusher:
image: gitlab-registry.in2p3.fr/bastien.gounon/xcache-flusher:latest
ports:
- "80:80"
depends_on:
- voms-renewer
- xcache
volumes:
- type: bind
source: /mnt/xcache/ns
......@@ -66,6 +71,7 @@ services:
source: {{ directory.path }}
target: {{ directory.path }}
{% endfor %}
restart: always
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