-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
60 lines (54 loc) · 1.21 KB
/
docker-compose.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
version: '2'
services:
mysql:
image: mysql
container_name: mysql.example.com
hostname: mysql
domainname: example.com
environment:
- MYSQL_DATABASE=cmf
- MYSQL_USER=cmf
- MYSQL_PASSWORD=cmf
- MYSQL_ROOT_PASSWORD=redhat
manager:
image: cloudera-manager
container_name: manager.example.com
hostname: manager
domainname: example.com
privileged: true
ports:
- "7180:7180"
environment:
- MYSQL_SERVER=mysql
agent1:
image: cloudera-agent
container_name: a1.example.com
hostname: a1
domainname: example.com
privileged: true
environment:
- CLOUDERA_MANAGER=manager
agent2:
image: cloudera-agent
container_name: a2.example.com
hostname: a2
domainname: example.com
privileged: true
environment:
- CLOUDERA_MANAGER=manager
agent3:
image: cloudera-agent
container_name: a3.example.com
hostname: a3
domainname: example.com
privileged: true
environment:
- CLOUDERA_MANAGER=manager
agent4:
image: cloudera-agent
container_name: a4.example.com
hostname: a4
domainname: example.com
privileged: true
environment:
- CLOUDERA_MANAGER=manager