-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
92 lines (84 loc) · 1.96 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
version: "3.7"
services:
scep:
image: scep
volumes:
- ./docker/config/certs/depot:/service/scep/depot
build:
context: .
dockerfile: ./docker/scep/Dockerfile
args:
- SCEP_VERSION=2.1.0
- CHALLENGE=ThisIsAChallenge
- ALLOW_RENEW=0
ports:
- "8080:8080"
nanomdm:
container_name: nanomdm
image: nanomdm
volumes:
- ./docker/config/certs/depot/ca.pem:/service/nanomdm/ca.pem
build:
context: .
dockerfile: ./docker/nanomdm/Dockerfile
args:
- NANOMDM_VERSION=0.2.0
- API_KEY=nanomdm
- WEBHOOK=http://127.0.0.1:8000/webhook
ports:
- "9000:9000"
depends_on:
- scep
micro2nano:
image: micro2nano
build:
context: .
dockerfile: ./docker/micro2nano/Dockerfile
args:
- VERSION=0.2.0
- MICROMDM_API_KEY=nanomdm
- NANO_API_KEY=nanomdm
- NANO_URL=http://127.0.0.1:9000/v1/enqueue
ports:
- "9001:9001"
depends_on:
- nanomdm
redis:
image: "redis:alpine"
hostname: redis
ports:
- "6379:6379"
mdmdirector:
image: mdmdirector
build:
context: .
dockerfile: ./docker/mdmdirector/Dockerfile
args:
- VERSION=0.3.1
- DB_NAME=mdmdirector
- DB_HOSTNAME=localhost
- DB_PORT=5432
- MICROMDM_API_KEY=nanomdm
- MICROMDM_URL=http://localhost:9001
- MDMDIRECTOR_API_KEY=mdmdirector
ports:
- "8000:8000"
depends_on:
- micro2nano
- nanomdm
- redis
enroll_endpoint:
image: enroll_endpoint
build:
context: .
dockerfile: ./docker/enroll_endpoint/Dockerfile
args:
- BASE_URL=https://localhost/
- COMPANY=corporation
- SCEP_CHALLENGE=ThisIsAChallenge
ports:
- "9300:9300"
volumes:
- ./docker/config/certs/mdm_push_cert.pem:/service/enroll_endpoint/mdm_push_cert.pem
depends_on:
- nanomdm