-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathredmine.yaml
47 lines (47 loc) · 1008 Bytes
/
redmine.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: redmine
spec:
selector:
matchLabels:
app: redmine
template:
metadata:
labels:
app: redmine
annotations:
zeropod.ctrox.dev/ports-map: "redmine=3000"
zeropod.ctrox.dev/container-names: "redmine"
zeropod.ctrox.dev/scaledown-duration: 0m
spec:
runtimeClassName: zeropod
containers:
- image: redmine
name: redmine
ports:
- containerPort: 3000
env:
- name: REDMINE_DB_MYSQL
value: mysql
- name: REDMINE_DB_USER
value: root
- name: REDMINE_DB_PASSWORD
value: password
- name: REDMINE_SECRET_KEY_BASE
value: supersecretkey
---
apiVersion: v1
kind: Service
metadata:
name: redmine
labels:
app: redmine
spec:
ports:
- port: 80
name: http
targetPort: 3000
type: LoadBalancer
selector:
app: redmine