-
Notifications
You must be signed in to change notification settings - Fork 2
/
liberty-oracle.yml
61 lines (61 loc) · 1.2 KB
/
liberty-oracle.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
version: '3'
volumes:
krb5kdc-data:
services:
# Liberty service
liberty:
build:
context: ./liberty
dockerfile: oracle.Dockerfile
ports:
- "9080:9080"
- "443:443"
environment:
- KRB5_REALM=EXAMPLE.COM
- KRB5_KDC=kerberos
depends_on:
- "oracle"
networks:
krbnet:
ipv4_address: 10.5.0.4
volumes:
- ./trace/liberty:/logs
# Oracle service
oracle:
build:
context: ./oracle
hostname: oracle
ports:
- "1521:1521"
- "8080:8080"
environment:
- KRB5_REALM=EXAMPLE.COM
- KRB5_KDC=kerberos
depends_on:
- "kerberos"
networks:
krbnet:
ipv4_address: 10.5.0.11
# Kerberos service (KDC)
kerberos:
build: kdc-server
ports:
- "88:88"
- "464:464"
- "749:749"
environment:
- KRB5_REALM=EXAMPLE.COM
- KRB5_KDC=localhost
- KRB5_PASS=password
volumes:
- krb5kdc-data:/var/lib/krb5kdc
- ./trace/kerberos:/var/log
networks:
krbnet:
ipv4_address: 10.5.0.9
# Network (Ensure they are on the same network)
networks:
krbnet:
ipam:
config:
- subnet: 10.5.0.0/16