-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapply_openSchool.yaml
52 lines (52 loc) · 1.33 KB
/
apply_openSchool.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
kind: Deployment
apiVersion: apps/v1
metadata:
name: openschooldeploy
labels:
app: openschool
spec:
replicas: 1
selector:
matchLabels:
name: openschool
template:
metadata:
labels:
name: openschool
spec:
containers:
- name: os-api
image: opensch/core
imagePullPolicy: Always
ports:
- name: https
containerPort: 443
protocol: TCP
- name: http
containerPort: 80
protocol: TCP
env:
- name: KUBERNETES
value: '1'
- name: mode
value: development
- name: clientID
value: testkey
- name: clientSecret
value: verysecurekey
- name: SSL
value: '1'
- name: SSL_CERT
value: SSL certificate (encoded in base64)
- name: SSL_KEY
value: Key for ssl certificate (encoded in base64)
- name: MONGO_HOST
value: mongoDB address
- name: MONGO_PORT
value: 27017
- name: MONGO_USER
value: mongoDB username
- name: MONGO_PASS
value: mongoDB user's password
- name: MONGO_DB
value: openSchool