mirror of
https://github.com/ChristianLight/tutor.git
synced 2025-01-10 00:37:54 +00:00
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: lms
|
||
|
spec:
|
||
|
replicas: 1
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: lms
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: lms
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: lms
|
||
|
image: regis/openedx:latest
|
||
|
ports:
|
||
|
- containerPort: 8000
|
||
|
volumeMounts:
|
||
|
- mountPath: /openedx/edx-platform/lms/envs/tutor/
|
||
|
name: settings-lms
|
||
|
- mountPath: /openedx/edx-platform/cms/envs/tutor/
|
||
|
name: settings-cms
|
||
|
- mountPath: /openedx/config
|
||
|
name: config
|
||
|
- mountPath: /openedx/scripts
|
||
|
name: scripts
|
||
|
- mountPath: /openedx/data
|
||
|
name: data
|
||
|
volumes:
|
||
|
- name: settings-lms
|
||
|
configMap:
|
||
|
name: openedx-settings-lms
|
||
|
- name: settings-cms
|
||
|
configMap:
|
||
|
name: openedx-settings-cms
|
||
|
- name: config
|
||
|
configMap:
|
||
|
name: openedx-config
|
||
|
- name: scripts
|
||
|
configMap:
|
||
|
name: openedx-scripts
|
||
|
- name: data
|
||
|
persistentVolumeClaim:
|
||
|
claimName: lms-data
|