-
Notifications
You must be signed in to change notification settings - Fork 1
/
privacy-assessment-forms.yaml
192 lines (190 loc) · 4.24 KB
/
privacy-assessment-forms.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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
kind: PersistentVolume
apiVersion: v1
metadata:
name: task-pv-volume
labels:
type: local
spec:
storageClassName: manual
capacity:
storage: 128M
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/volume/vol001"
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
labels:
io.kompose.service: database-claim0
name: database-claim0
spec:
storageClassName: manual
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
status: {}
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
labels:
io.kompose.service: app
name: app
spec:
replicas: 1
template:
metadata:
labels:
io.kompose.service: app
spec:
restartPolicy: Always
containers:
- name: eubr-atmosphere-app
image: kontoeniki/atmosphere:1.3.1
env:
- name: DATABASE
value: jdbc:mysql://database:3306/atmosphere?useEncoding=true&useSSL=false&characterEncoding=UTF-8&useTimezone=true&&serverTimezone=UTC
- name: DATABASE_PASSWORD
value: rfEofrL1BnZuA7PMOyNz5Fq5zD10Wa24
- name: DATABASE_USER
value: app
- name: SPRING_PROFILES_ACTIVE
value: production
- name: LEMONADE_URL
value: http://citrus:8080/limonero/datasources
- name: LEMONADE_TOKEN
value: "9740600"
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
labels:
io.kompose.service: app
name: app
spec:
type: NodePort
ports:
- name: "8080"
port: 8080
targetPort: 8080
nodePort: 31111
selector:
io.kompose.service: app
status:
loadBalancer: {}
---
apiVersion: v1
kind: Service
metadata:
labels:
io.kompose.service: database
name: database
spec:
ports:
- name: "3306"
port: 3306
targetPort: 3306
selector:
io.kompose.service: database
status:
loadBalancer: {}
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
io.kompose.service: database
name: database
spec:
replicas: 1
strategy:
type: Recreate
template:
metadata:
labels:
io.kompose.service: database
spec:
containers:
- name: eubr-atmosphere-database
env:
- name: MYSQL_DATABASE
value: atmosphere
- name: MYSQL_PASSWORD
value: rfEofrL1BnZuA7PMOyNz5Fq5zD10Wa24
- name: MYSQL_ROOT_PASSWORD
value: rfEofrL1BnZuA7PMOyNz5Fq5zD10Wa24
- name: MYSQL_USER
value: app
image: mysql:5.7
args:
- "--ignore-db-dir=lost+found"
ports:
- containerPort: 3306
resources: {}
volumeMounts:
- mountPath: /var/lib/mysql
name: database-claim0
restartPolicy: Always
volumes:
- name: database-claim0
persistentVolumeClaim:
claimName: database-claim0
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
creationTimestamp: null
labels:
io.kompose.service: phpmyadmin
name: phpmyadmin
spec:
replicas: 1
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
io.kompose.service: phpmyadmin
spec:
containers:
- name: eubr-atmosphere-phpmyadmin
image: phpmyadmin/phpmyadmin
env:
- name: PMA_HOST
value: database
- name: PMA_PORT
value: "3306"
ports:
- containerPort: 80
resources: {}
restartPolicy: Always
---
apiVersion: v1
kind: Service
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose-production.yml -o privacy-assessment-forms.yaml
kompose.version: 1.16.0 (0c01309)
creationTimestamp: null
labels:
io.kompose.service: phpmyadmin
name: phpmyadmin
spec:
type: NodePort
ports:
- name: "8060"
port: 8060
targetPort: 80
nodePort: 31112
selector:
io.kompose.service: phpmyadmin
status:
loadBalancer: {}