forked from mswatosh/was-kerberos-database
-
Notifications
You must be signed in to change notification settings - Fork 0
/
liberty-mssql.yml
54 lines (54 loc) · 1.02 KB
/
liberty-mssql.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
version: '3'
volumes:
krb5kdc-data:
services:
liberty:
build:
context: ./liberty
dockerfile: mssql.Dockerfile
ports:
- "9080:9080"
- "443:443"
environment:
- KRB5_REALM=EXAMPLE.COM
- KRB5_KDC=kerberos
depends_on:
- "sqlserver"
networks:
krbnet:
ipv4_address: 10.5.0.4
volumes:
- ./trace/liberty/logs:/logs
sqlserver:
build: sqlserver
ports:
- "1433:1433"
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:
- "88:88"
- "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