forked from HDFGroup/hsds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.openio.yml
90 lines (86 loc) · 2.53 KB
/
docker-compose.openio.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
version: '2'
services:
head:
image: hdfgroup/hsds
container_name: hsds_head
restart: ${RESTART_POLICY}
mem_limit: ${HEAD_RAM}
environment:
- TARGET_SN_COUNT=${SN_CORES}
- TARGET_DN_COUNT=${DN_CORES}
- HEAD_PORT=${HEAD_PORT}
- HEAD_HOST=hsds_head
- NODE_TYPE=head_node
- AWS_S3_GATEWAY=${AWS_S3_GATEWAY}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_REGION=${AWS_REGION}
- BUCKET_NAME=${BUCKET_NAME}
- LOG_LEVEL=${LOG_LEVEL}
ports:
- ${HEAD_PORT}:${HEAD_PORT}
dn:
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${DN_RAM}
environment:
- AWS_IAM_ROLE=${AWS_IAM_ROLE}
- DN_PORT=${DN_PORT}
- DN_HOST=${PUBLIC_DNS}
- NODE_TYPE=dn
- AWS_S3_GATEWAY=${AWS_S3_GATEWAY}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_REGION=${AWS_REGION}
- BUCKET_NAME=${BUCKET_NAME}
- LOG_LEVEL=${LOG_LEVEL}
- CHUNK_MEM_CACHE_SIZE=${CHUNK_MEM_CACHE_SIZE}
- MAX_CHUNK_SIZE=${MAX_CHUNK_SIZE}
ports:
- ${DN_PORT}
depends_on:
- head
sn:
image: hdfgroup/hsds
restart: ${RESTART_POLICY}
mem_limit: ${SN_RAM}
environment:
- AWS_IAM_ROLE=${AWS_IAM_ROLE}
- SN_PORT=${SN_PORT}
- NODE_TYPE=sn
- AWS_S3_GATEWAY=${AWS_S3_GATEWAY}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_DYNAMODB_GATEWAY=${AWS_DYNAMODB_GATEWAY}
- AWS_REGION=${AWS_REGION}
- BUCKET_NAME=${BUCKET_NAME}
- LOG_LEVEL=${LOG_LEVEL}
- SERVER_NAME=${SERVER_NAME}
- CHUNK_MEM_CACHE_SIZE=${CHUNK_MEM_CACHE_SIZE}
- MAX_CHUNK_SIZE=${MAX_CHUNK_SIZE}
- MAX_CHUNKS_PER_FOLDER=${MAX_CHUNKS_PER_FOLDER}
- AWS_DYNAMODB_USERS_TABLE=${AWS_DYNAMODB_USERS_TABLE}
- VIRTUAL_HOST=${PUBLIC_DNS}
- VIRTUAL_PORT=${SN_PORT}
- HSDS_ENDPOINT=${HSDS_ENDPOINT}
- SN_HOST=${PUBLIC_DNS}
- PASSWORD_SALT=${PASSWORD_SALT}
- GREETING=${GREETING}
- ABOUT=${ABOUT}
- TOP_LEVEL_DOMAINS=${TOP_LEVEL_DOMAINS}
ports:
- ${SN_PORT}:${SN_PORT}
depends_on:
- head
openio:
image: openio/sds
restart: always
container_name: openio_sds
environment:
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_REGION=${AWS_REGION}
ports:
- "6007:6007"
depends_on:
- head