Commit efd3881f authored by MUSSET Paul's avatar MUSSET Paul
Browse files

change docker xcache directory

parent 5414dc8b
Pipeline #90385 failed with stage
in 5 minutes and 34 seconds
......@@ -2,24 +2,24 @@ version: '3.8'
services:
xcache-certificate-standalone:
image: gitlab-registry.in2p3.fr/cc-escape/xcache-config/xcache:separate-data-meta
image: gitlab-registry.in2p3.fr/cc-escape/xcache-config/xcache:ansible
ports:
- "1094:1094"
depends_on:
- voms-renewer
volumes:
- type: bind
source: /mnt/xcache-ns
target: /mnt/xcache-ns
source: /mnt/xcache/ns
target: /mnt/xcache/ns
- type: bind
source: /mnt/xcache-metadata
target: /mnt/xcache-meta
source: /mnt/xcache/metadata
target: /mnt/xcache/meta
- type: bind
source: /mnt/xcache-storage/data1
target: /mnt/xcache-storage/data1
source: /mnt/xcache/storage/data1
target: /mnt/xcache/storage/data1
- type: bind
source: /mnt/xcache-storage/data2
target: /mnt/xcache-storage/data2
source: /mnt/xcache/storage/data2
target: /mnt/xcache/storage/data2
- type: bind
source: ./config
target: /etc/xrootd
......@@ -35,7 +35,7 @@ services:
mode: 0400
voms-renewer:
image: gitlab-registry.in2p3.fr/cc-escape/xcache-config/voms-proxy-init:separate-data-meta
image: gitlab-registry.in2p3.fr/cc-escape/xcache-config/voms-proxy-init:ansible
ports:
- "15000:15000"
volumes:
......
......@@ -44,16 +44,16 @@ RUN mkdir -p /etc/xrootd/\
&& chown xrootd:xrootd /etc/xrootd
# Directory keeping the namespace
RUN mkdir -p /mnt/xcache-ns/\
&& chown xrootd:xrootd /mnt/xcache-ns/
RUN mkdir -p /mnt/xcache/ns/\
&& chown xrootd:xrootd /mnt/xcache/ns/
# Directory keeping the metadata
RUN mkdir -p /mnt/xcache-meta/\
&& chown xrootd:xrootd /mnt/xcache-meta/
&& chown xrootd:xrootd /mnt/xcache/meta/
# Directory to mount the data disks. need to have same uid+gid on host and container
RUN mkdir -p /mnt/xcache-storage\
&& chown xrootd:xrootd /mnt/xcache-storage/
&& chown xrootd:xrootd /mnt/xcache/storage/
# For now checking crl is disabled in xcache config file
# Might have to be later to be put in a volume. with a container spawning every n hours doing the fetch crl
......
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