forked from mswatosh/was-kerberos-database
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (64 loc) · 1.27 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
61
62
63
64
version: '3'
volumes:
krb5kdc-data:
services:
websphere:
build: websphere-traditional
ports:
- "9043:9043"
- "9443:9443"
- "9080:9080"
environment:
- KRB5_REALM=EXAMPLE.COM
- KRB5_KDC=kerberos
- ENABLE_BASIC_LOGGING=true
networks:
krbnet:
ipv4_address: 10.5.0.2
volumes:
- ./trace/twas/logs:/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs
# liberty:
# build: liberty
# ports:
# - "9080:9080"
# - "443:443"
# environment:
# - KRB5_REALM=EXAMPLE.COM
# - KRB5_KDC=kerberos
# depends_on:
# - "db2"
# volumes:
# - /Users/mjswatos/docker/logs:/logs
db2:
build: db2
ports:
- "50000:50000"
environment:
- KRB5_REALM=EXAMPLE.COM
- KRB5_KDC=kerberos
privileged: True
depends_on:
- "kerberos"
networks:
krbnet:
ipv4_address: 10.5.0.5
kerberos:
build: kdc-server
ports:
- "99:99"
- "464:464"
- "749:749"
environment:
- KRB5_REALM=EXAMPLE.COM
- KRB5_KDC=localhost
- KRB5_PASS=password
volumes:
- krb5kdc-data:/var/lib/krb5kdc
networks:
krbnet:
ipv4_address: 10.5.0.9
networks:
krbnet:
ipam:
config:
- subnet: 10.5.0.0/16