-
Notifications
You must be signed in to change notification settings - Fork 0
/
migrations.yaml
47 lines (47 loc) · 1.19 KB
/
migrations.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: v1
kind: Pod
metadata:
labels:
mediacms-service: migrations
user: mediacms
name: migrations
spec:
containers:
- args:
- ./deploy/docker/prestart.sh
env:
- name: ADMIN_EMAIL
value: [email protected]
- name: ADMIN_USER
value: admin
- name: ADMIN_PASSWORD
value: 'mediacms'
- name: ENABLE_CELERY_BEAT
value: "no"
- name: ENABLE_CELERY_LONG
value: "no"
- name: ENABLE_CELERY_SHORT
value: "no"
- name: ENABLE_NGINX
value: "no"
- name: ENABLE_UWSGI
value: "no"
- name: ENABLE_MIGRATIONS
value: "yes"
image: sciencedata/mediacms_sciencedata:latest
name: migrations
volumeMounts:
- name: nfs-claim-sciencedata-mediacms
mountPath: /home/mediacms.io/mediacms/media_files
readOnly: false
securityContext:
capabilities:
add:
- SYS_CHROOT
- AUDIT_WRITE
- NET_ADMIN
restartPolicy: OnFailure
volumes:
- name: nfs-claim-sciencedata-mediacms
persistentVolumeClaim:
claimName: nfs-claim-10.0.0.18-mediacms