-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (46 loc) · 979 Bytes
/
docker-compose.yml
File metadata and controls
48 lines (46 loc) · 979 Bytes
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
---
version: '3'
services:
kdcproxy:
build:
context: .
dockerfile: ./Dockerfile
container_name: kdcproxy-apache
restart: unless-stopped
ports:
- "443:443"
environment:
- KDCPROXY_CONFIG=/config/kdcproxy.conf
- SERVER_NAME=${SERVER_NAME}
volumes:
- config:/config:ro
- certs:/certs:ro
depends_on:
omgwtfssl:
condition: service_completed_successfully
extra_hosts:
- "test-dc1.contoso.loc:10.10.10.10"
omgwtfssl:
image: paulczar/omgwtfssl
container_name: kdcproxy-ssl
restart: "no"
volumes:
- certs:/certs
environment:
- SSL_SUBJECT=${SERVER_NAME}
- SSL_KEY=/certs/cert.key
- SSL_CSR=/certs/cert.csr
- SSL_CERT=/certs/cert.crt
volumes:
config:
driver: local
driver_opts:
type: none
o: bind
device: ./config
certs:
driver: local
driver_opts:
type: none
o: bind
device: ./certs