-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.debug.yml
142 lines (140 loc) · 3.8 KB
/
docker-compose.debug.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
version: '3.4'
services:
xrootd.phy.bris.ac.uk:
hostname: xrootd.phy.bris.ac.uk
image: xrootdse
build:
context: .
dockerfile: ./Dockerfile
args:
TESTING: 'true'
environment:
- HADOOP_CONF_DIR=/etc/hadoop
ports:
- "1094:1094" # xrootd public port
- "3121:3121" # cluster manager, site-internal
links:
- io-37-02.acrc.bris.ac.uk
- namenode
- datanode1
volumes:
- type: bind
source: ./etc/xrootd
target: /etc/xrootd
read_only: true
- type: bind
source: ./etc/supervisord.d
target: /etc/supervisord.d/
read_only: true
- type: bind
source: ./data/xrootd
target: /xrootd
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
- type: bind
source: /cvmfs/grid.cern.ch/etc/grid-security/certificates
target: /etc/grid-security/certificates
read_only: true
- type: bind
source: /cvmfs/grid.cern.ch/etc/grid-security/vomsdir
target: /etc/grid-security/vomsdir
read_only: true
- type: bind
source: /cvmfs/grid.cern.ch/etc/grid-security/vomses
target: /etc/grid-security/vomses
read_only: true
- type: bind
source: ./.secrets/testing/xrootdse
target: /.secrets
read_only: true
- type: bind
source: ./.secrets/testing/xrootdse/etc/hadoop
target: /etc/hadoop
read_only: true
io-37-02.acrc.bris.ac.uk:
hostname: io-37-02.acrc.bris.ac.uk
image: xrootdse
build:
context: .
dockerfile: ./Dockerfile
args:
TESTING: 'true'
environment:
- HADOOP_CONF_DIR=/etc/hadoop
ports:
- "1194:1194" # xrootd public port
volumes:
- type: bind
source: ./etc/xrootd
target: /etc/xrootd
read_only: true
- type: bind
source: ./etc/supervisord.d
target: /etc/supervisord.d/
- type: bind
source: ./data/xrootd
target: /xrootd
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
- type: bind
source: /cvmfs/grid.cern.ch/etc/grid-security/certificates
target: /etc/grid-security/certificates
read_only: true
- type: bind
source: /cvmfs/grid.cern.ch/etc/grid-security/vomsdir
target: /etc/grid-security/vomsdir
read_only: true
- type: bind
source: /cvmfs/grid.cern.ch/etc/grid-security/vomses
target: /etc/grid-security/vomses
read_only: true
- type: bind
source: ./.secrets/testing/xrootdgateway
target: /.secrets
read_only: true
- type: bind
source: ./.secrets/testing/xrootdse/etc/hadoop
target: /etc/hadoop
read_only: true
links:
- namenode
- datanode1
xrootdclient:
hostname: xrootdclient
image: kreczko/xrootd-testing
build:
context: .devcontainer
dockerfile: ./Dockerfile
links:
- xrootd.phy.bris.ac.uk
- io-37-02.acrc.bris.ac.uk
command: /usr/bin/env bash
volumes:
- "/etc/timezone:/etc/timezone:ro"
- "/etc/localtime:/etc/localtime:ro"
- type: bind
source: $HOME/.globus
target: /home/xrootduser/.globus
read_only: true
namenode:
image: uhopper/hadoop-namenode
hostname: namenode
container_name: namenode
domainname: hadoop
volumes:
- ./data/namenode:/hadoop/dfs/name
environment:
- CLUSTER_NAME=xtest
ports:
- "8020:8020"
datanode1:
image: uhopper/hadoop-datanode
hostname: datanode1
container_name: datanode1
domainname: hadoop
volumes:
- ./data/datanode1:/hadoop/dfs/data
environment:
- CORE_CONF_fs_defaultFS=hdfs://namenode:8020
links:
- namenode