-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-wine-separate-2-k8s-deployment.2.yaml
51 lines (50 loc) · 1.4 KB
/
docker-wine-separate-2-k8s-deployment.2.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: wine-separate-2-deployment
labels:
app: wine-separate-2
spec:
replicas: 1
selector:
matchLabels:
app: wine-separate-2
template:
metadata:
labels:
app: wine-separate-2
spec:
securityContext:
fsGroup: 1010
containers:
- name: solarkennedy-wine-x11-novnc-docker
image: launchthatbrand/solarkennedy-wine-x11-novnc-docker:latest
imagePullPolicy: Always
securityContext:
runAsUser: 0
- name: nevmerzhitsky-headless-metatrader4
image: launchthatbrand/nevmerzhitsky-headless-metatrader4:minimal-1.0.5
imagePullPolicy: Always
command: [ "/bin/bash", "-c", "--" ]
args: [ "while true; do sleep 30; done;" ]
volumeMounts:
- name: wine-separate-2-volume
mountPath: /home/winer/.wine/
initContainers:
- name: take-data-dir-ownership
image: alpine:3
command:
#- cp
#- /home/winer/.cache/mt4_kot4x/.
#- /home/winer/.wine/drive_c/mt4
- chown
- -R
- 1000:1010
- /home/winer/.wine/
volumeMounts:
- name: wine-separate-2-volume
mountPath: /home/winer/.wine/
volumes:
- name: wine-separate-2-volume
persistentVolumeClaim:
claimName: wine-separate-2-pvc