-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.zone-a.yml
More file actions
170 lines (157 loc) · 5.33 KB
/
docker-compose.zone-a.yml
File metadata and controls
170 lines (157 loc) · 5.33 KB
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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
#################################################################################
# Copyright (c) 2014-2019 WANdisco
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Apache License, Version 2.0
#
################################################################################
#
# This docker-compose.yml file creates all WANdisco Fusion services needed to
# for running in an CDH zone.
#
# Services running in each zone
# Zone
# Fusion NameNode Proxy (fusion-nn-proxy)
# Fusion UI Server CDH (fusion-ui-server-sandbox-cdh)
# Fusion IHC Server (fusion-ihc-server-sandbox-cdh)
# Fusion Server (fusion-server-sandbox-cdh)
#
# Note: while version 3.7 is technically compatible with Docker 18.06 and
# higher, this project was tested with only Docker 18.09 as of 2019-08-06.
version: "3.7"
services:
debug:
image: ubuntu
command: ["tail", "-f", "/dev/null"]
volumes:
- logging-sandbox-cdh:/debug/sandbox-cdh
networks:
- fusion
# Fusion NameNode Proxy (NPX)
fusion-nn-proxy-sandbox-cdh:
image: wandisco/fusion-nn-proxy-cdh-5.16.0:5.0.0.1-3860
restart: unless-stopped
depends_on:
- fusion-server-sandbox-cdh
networks:
- fusion
ports:
- 8890:8890
env_file:
- "zone_a.env"
volumes:
- logging-sandbox-cdh:/var/log/fusion
- fusion-sandbox-cdh-etc-wandisco:/etc/wandisco
- fusion-sandbox-cdh-etc-hadoop:/etc/hadoop
# Fusion UI Server
fusion-ui-server-sandbox-cdh:
image: wandisco/fusion-ui-server-cdh-5.16.0:2.15.5.1-3860
restart: unless-stopped
depends_on:
- fusion-server-sandbox-cdh
networks:
- fusion
ports:
- 8083:8083
- 8443:8443
env_file:
- "zone_a.env"
volumes:
- logging-sandbox-cdh:/var/log/fusion
- fusion-sandbox-cdh-etc-hadoop:/etc/hadoop
- fusion-sandbox-cdh-etc-shared:/etc/shared
- fusion-sandbox-cdh-etc-wandisco:/etc/wandisco
- fusion-sandbox-cdh-opt-wandisco-fusion-server-checkpoint:/opt/wandisco/fusion/server/checkpoint
- fusion-sandbox-cdh-opt-wandisco-fusion-server-dcone:/opt/wandisco/fusion/server/dcone
- fusion-sandbox-cdh-opt-wandisco-fusion-ui-server-properties:/opt/wandisco/fusion-ui-server/properties
- fusion-sandbox-cdh-usr-hdp:/usr/hdp
# Fusion IHC Server
fusion-ihc-server-sandbox-cdh:
image: wandisco/fusion-ihc-server-cdh-5.16.0:2.15.5.1-3860
restart: unless-stopped
depends_on:
- fusion-server-sandbox-cdh
networks:
- fusion
ports:
- 7000:7000
- 9002:9002
env_file:
- "zone_a.env"
volumes:
- logging-sandbox-cdh:/var/log/fusion
- fusion-sandbox-cdh-etc-hadoop:/etc/hadoop
- fusion-sandbox-cdh-etc-shared:/etc/shared
- fusion-sandbox-cdh-etc-wandisco:/etc/wandisco
- fusion-sandbox-cdh-restart:/var/run/wandisco/ihc
- fusion-sandbox-cdh-opt-wandisco-fusion-server-checkpoint:/opt/wandisco/fusion/server/checkpoint
- fusion-sandbox-cdh-usr-hdp:/usr/hdp
# sshd
sshd-sandbox-cdh:
image: wandisco/sshd:centos-1.0.0
restart: unless-stopped
depends_on:
- fusion-server-sandbox-cdh
networks:
- fusion
hostname: "cdh-s3"
ports:
- "2022:22"
- "8670:8670"
env_file:
- "zone_a.env"
volumes:
- fusion-sandbox-cdh-etc-hadoop:/etc/hadoop
- fusion-sandbox-cdh-etc-shared:/etc/shared
- fusion-sandbox-cdh-etc-ssh:/etc/ssh
- fusion-sandbox-cdh-root-ssh:/root/.ssh
- fusion-sandbox-cdh-usr-hdp:/usr/hdp
# Fusion Server
fusion-server-sandbox-cdh:
image: wandisco/fusion-server-cdh-5.16.0:2.15.5.1-3860
restart: unless-stopped
networks:
- fusion
ports:
- 8023:8023
- 8084:8084
- 8024:8024
- 8082:8082
- 6444:6444
environment:
- DB_ACTION=
env_file:
- "zone_a.env"
volumes:
- logging-sandbox-cdh:/var/log/fusion
- fusion-sandbox-cdh-opt-wandisco-fusion-server-checkpoint:/opt/wandisco/fusion/server/checkpoint
- fusion-sandbox-cdh-opt-wandisco-fusion-server-dcone:/opt/wandisco/fusion/server/dcone
- fusion-sandbox-cdh-etc-wandisco:/etc/wandisco
- fusion-sandbox-cdh-etc-hadoop:/etc/hadoop
- fusion-sandbox-cdh-etc-shared:/etc/shared
- fusion-sandbox-cdh-restart:/var/run/wandisco/ihc
- fusion-sandbox-cdh-opt-wandisco-fusion-ui-server-properties:/opt/wandisco/fusion-ui-server/properties
- fusion-sandbox-cdh-usr-hdp:/usr/hdp
networks:
# One Docker network is shared between both zones
fusion: {}
volumes:
# The named logging volumes for all components
logging-sandbox-cdh:
# Checkpoint volume (confirm if this is needed to persist across container restarts)
fusion-sandbox-cdh-opt-wandisco-fusion-server-checkpoint:
# dcone volume to persist database changes across restarts
fusion-sandbox-cdh-opt-wandisco-fusion-server-dcone:
# volumes for sshd
fusion-sandbox-cdh-etc-shared:
fusion-sandbox-cdh-etc-ssh:
fusion-sandbox-cdh-usr-hdp:
fusion-sandbox-cdh-root-ssh:
# volumes for persisting config
fusion-sandbox-cdh-etc-wandisco:
fusion-sandbox-cdh-etc-hadoop:
fusion-sandbox-cdh-opt-wandisco-fusion-ui-server-properties: