-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
54 lines (47 loc) · 975 Bytes
/
docker-compose.yaml
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
---
version: '2.3'
x-base: &base
build:
context: ./dc
volumes:
- ./build:/app
- /tmp:/tmp
- $HOME/.ssh:/root/.ssh
environment:
- PS1=[container]:\w>
stdin_open: true
tty: true
working_dir: /app
services:
terraform:
image: hashicorp/terraform:0.9.11
volumes:
- ./build:/app
- /tmp:/tmp
- $HOME/.ssh:/root/.ssh
stdin_open: true
tty: true
working_dir: /app
environment:
TF_VAR_k8s_root_password: ${TF_VAR_k8s_root_password}
TF_VAR_vsphere_password: ${TF_VAR_vsphere_password}
kubeadm:
build:
context: ./dc
dockerfile: Dockerfile.kubeadm
tls:
<<: *base
volumes:
- ".:/app"
entrypoint: ./bin/certs.sh
f5er:
image: pr8kerl/f5er:v0.3.1
volumes:
- $HOME/.f5:/.f5
- ./f5:/f5
shell:
<<: *base
volumes:
- "$HOME/.kube:/root/.kube"
- "$HOME/.minikube:$HOME/.minikube"
- ".:/app"