-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtaiga-back-deployment.yaml
66 lines (66 loc) · 1.85 KB
/
taiga-back-deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.26.1 (a9d05d509)
creationTimestamp: null
labels:
io.kompose.service: taiga-back
name: taiga-back
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: taiga-back
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.26.1 (a9d05d509)
creationTimestamp: null
labels:
io.kompose.network/taiga: "true"
io.kompose.service: taiga-back
spec:
containers:
- env:
- name: ENABLE_TELEMETRY
value: "True"
- name: POSTGRES_DB
value: taiga
- name: POSTGRES_HOST
value: taiga-db
- name: POSTGRES_PASSWORD
value: taiga
- name: POSTGRES_USER
value: taiga
- name: RABBITMQ_PASS
value: taiga
- name: RABBITMQ_USER
value: taiga
- name: TAIGA_SECRET_KEY
value: taiga-back-secret-key
- name: TAIGA_SITES_DOMAIN
value: 34.69.163.41:9000
- name: TAIGA_SITES_SCHEME
value: http
- name: TAIGA_SUBPATH
image: taigaio/taiga-back:latest
name: taiga-back
volumeMounts:
- mountPath: /taiga-back/static
name: taiga-static-vol
- mountPath: /taiga-back/media
name: taiga-media-vol
restartPolicy: Always
volumes:
- name: taiga-static-vol
persistentVolumeClaim:
claimName: taiga-static-data
- name: taiga-media-vol
persistentVolumeClaim:
claimName: taiga-media-data
status: {}