Commit 6556de51 authored by MUSSET Paul's avatar MUSSET Paul
Browse files

add flusher to docker compose

parent 244547cc
Pipeline #92453 passed with stage
in 7 minutes and 22 seconds
......@@ -32,6 +32,28 @@ services:
- source: key
target: xrdkey.pem
mode: 0400
{% if test_machine is defined and test_machine %}
flusher:
image: gitlab-registry.in2p3.fr/bastien.gounon/xcache-flusher:latest
ports:
- "80:80"
volumes:
- type: bind
source: /mnt/xcache/ns
target: /mnt/xcache/ns
- type: bind
source: /mnt/xcache/metadata
target: /mnt/xcache/meta
{% for directory in disks_list.files %}
- type: bind
source: {{ directory.path }}
target: {{ directory.path }}
{% endfor %}
environment:
FLUSHER_DIR: /mnt/xcache-ns/,/mnt/xcache-meta/meta,{% for directory in disks_list.files %}{{ directory.path }}{%- if not loop.last %},{% endif %}{% endfor %}
FLUSHER_PORT: 80
{% endif %}
voms-renewer:
image: gitlab-registry.in2p3.fr/cc-escape/xcache-config/voms-proxy-init:ansible
......@@ -44,7 +66,7 @@ services:
secrets:
- source: cert
target: xrdcert.pem
mode: 0600
mode: 0644
- source: key
target: xrdkey.pem
mode: 0400
......
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