forked from Knappek/docker-hadoop-secure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (44 loc) · 987 Bytes
/
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
version: '2'
networks:
custom:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.22.0.0/16
gateway: 172.22.0.1
services:
kdc:
networks:
custom:
ipv4_address: 172.22.0.2
image: sequenceiq/kerberos
hostname: kdc.kerberos.com
environment:
REALM: EXAMPLE.COM
DOMAIN_REALM: kdc.kerberos.com
volumes:
- "/dev/urandom:/dev/random"
- "/etc/localtime:/etc/localtime:ro"
hadoop-secure:
ports:
- "8088:8088"
networks:
custom:
ipv4_address: 172.22.0.3
image: djglock/docker-hadoop-secure:0.32
depends_on:
- kdc
hostname: hadoop
domainname: docker.com
tty: true
extra_hosts:
- "kdc.kerberos.com kdc:172.22.0.2"
environment:
KRB_REALM: EXAMPLE.COM
DOMAIN_REALM: kdc.kerberos.com
FQDN: hadoop.docker.com
HADOOP_USER: root
volumes:
- "/etc/localtime:/etc/localtime:ro"
privileged: true