-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.zone-b.yml
More file actions
122 lines (112 loc) · 3.85 KB
/
docker-compose.zone-b.yml
File metadata and controls
122 lines (112 loc) · 3.85 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
#################################################################################
# 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
# stand up an HDI zone.
#
# Services running in each zone
# Zone
# Fusion UI Server HDI (fusion-ui-server-s3)
# Fusion IHC Server (fusion-ihc-server-s3)
# Fusion Server (fusion-server-s3)
#
# 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-s3:/debug/s3
networks:
- fusion
# Fusion UI Server
fusion-ui-server-s3:
image: wandisco/fusion-ui-server-hcfs-asf-3.1.0:2.15.5.1-3860
depends_on:
- fusion-server-s3
networks:
- fusion
ports:
- 8583:8583
- 8943:8943
restart: unless-stopped
env_file:
- "zone_b.env"
volumes:
- logging-s3:/var/log/fusion
- fusion-s3-opt-wandisco-fusion-server-checkpoint:/opt/wandisco/fusion/server/checkpoint
- fusion-s3-opt-wandisco-fusion-server-dcone:/opt/wandisco/fusion/server/dcone
- fusion-s3-opt-wandisco-fusion-ui-server-properties:/opt/wandisco/fusion-ui-server/properties
- fusion-s3-etc-wandisco:/etc/wandisco
- fusion-s3-hdfs-home-aws:/home/hdfs/.aws
# Fusion IHC Server
fusion-ihc-server-s3:
image: wandisco/fusion-ihc-server-hcfs-asf-3.1.0:2.15.5.1-3860
depends_on:
- fusion-server-s3
networks:
- fusion
# Note: standard ports have been incremented by 500 to remove conflicts between Zone 1 and Zone 2
ports:
- 7500:7500
- 7501:7501
- 9502:9502
restart: unless-stopped
env_file:
- "zone_b.env"
volumes:
- logging-s3:/var/log/fusion
- fusion-s3-opt-wandisco-fusion-server-checkpoint:/opt/wandisco/fusion/server/checkpoint
- fusion-s3-etc-wandisco:/etc/wandisco
- fusion-s3-hdfs-home-aws:/home/hdfs/.aws
- fusion-s3-restart:/var/run/wandisco/ihc
# Fusion Server
fusion-server-s3:
image: wandisco/fusion-server-hcfs-asf-3.1.0:2.15.5.1-3860
networks:
- fusion
# Note: standard ports have been incremented by 500 to remove conflicts between Zone 1 and Zone 2
ports:
- 8524:8524
- 8523:8523
- 8582:8582
- 8584:8584
- 6944:6944
restart: unless-stopped
environment:
- DB_ACTION=
env_file:
- "zone_b.env"
volumes:
- logging-s3:/var/log/fusion
- fusion-s3-opt-wandisco-fusion-server-checkpoint:/opt/wandisco/fusion/server/checkpoint
- fusion-s3-opt-wandisco-fusion-server-dcone:/opt/wandisco/fusion/server/dcone
- fusion-s3-hdfs-home-aws:/home/hdfs/.aws
- fusion-s3-opt-wandisco-fusion-ui-server-properties:/opt/wandisco/fusion-ui-server/properties
- fusion-s3-etc-wandisco:/etc/wandisco
- fusion-s3-restart:/var/run/wandisco/ihc
networks:
# One Docker network is shared between both zones
fusion: {}
volumes:
# The named logging volumes for all components
logging-s3:
# Checkpoint volume (confirm if this is needed to persist across container restarts)
fusion-s3-opt-wandisco-fusion-server-checkpoint:
# dcone volume to persist database changes across restarts
fusion-s3-opt-wandisco-fusion-server-dcone:
# volumes for persisting config
fusion-s3-etc-wandisco:
fusion-s3-hdfs-home-aws:
fusion-s3-opt-wandisco-fusion-ui-server-properties: