-
Notifications
You must be signed in to change notification settings - Fork 52
/
docker-compose.posix.yml
53 lines (52 loc) · 1.13 KB
/
docker-compose.posix.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
services:
head:
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${HEAD_RAM}
environment:
- TARGET_SN_COUNT=${SN_CORES}
- TARGET_DN_COUNT=${DN_CORES}
- NODE_TYPE=head_node
- ROOT_DIR=/data
- BUCKET_NAME=${BUCKET_NAME}
ports:
- ${HEAD_PORT}
volumes:
- ${ROOT_DIR}:/data
- ${PWD}/admin/config/:/config/
dn:
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${DN_RAM}
environment:
- NODE_TYPE=dn
- ROOT_DIR=/data
- BUCKET_NAME=${BUCKET_NAME}
ports:
- ${DN_PORT}
depends_on:
- head
volumes:
- ${ROOT_DIR}:/data
- ${PWD}/admin/config/:/config/
links:
- head
sn:
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${SN_RAM}
environment:
- SN_PORT=${SN_PORT}
- NODE_TYPE=sn
- ROOT_DIR=/data
- BUCKET_NAME=${BUCKET_NAME}
- HSDS_ENDPOINT=${HSDS_ENDPOINT}
ports:
- ${SN_PORT_RANGE}:${SN_PORT}
depends_on:
- head
volumes:
- ${ROOT_DIR}:/data
- ${PWD}/admin/config/:/config/
links:
- head