|
| 1 | +apiVersion: apps/v1 |
| 2 | +kind: Deployment |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + kompose.cmd: kompose convert |
| 6 | + kompose.version: 1.30.0 (HEAD) |
| 7 | + creationTimestamp: null |
| 8 | + labels: |
| 9 | + io.kompose.service: cms |
| 10 | + name: cms |
| 11 | + namespace: default |
| 12 | +spec: |
| 13 | + replicas: 1 |
| 14 | + selector: |
| 15 | + matchLabels: |
| 16 | + io.kompose.service: cms |
| 17 | + strategy: |
| 18 | + type: Recreate |
| 19 | + template: |
| 20 | + metadata: |
| 21 | + annotations: |
| 22 | + kompose.cmd: kompose convert |
| 23 | + kompose.version: 1.30.0 (HEAD) |
| 24 | + creationTimestamp: null |
| 25 | + labels: |
| 26 | + io.kompose.network/devstack-default: "true" |
| 27 | + io.kompose.service: cms |
| 28 | + spec: |
| 29 | + containers: |
| 30 | + - args: |
| 31 | + - bash |
| 32 | + - -c |
| 33 | + - source /edx/app/edxapp/edxapp_env && while true; do python /edx/app/edxapp/edx-platform/manage.py cms runserver 0.0.0.0:18010 --settings devstack_docker; sleep 2; done |
| 34 | + env: |
| 35 | + - name: BOK_CHOY_CMS_PORT |
| 36 | + value: "18131" |
| 37 | + - name: BOK_CHOY_HOSTNAME |
| 38 | + value: edx.devstack.cms |
| 39 | + - name: BOK_CHOY_LMS_PORT |
| 40 | + value: "18103" |
| 41 | + - name: CMS_CFG |
| 42 | + value: /edx/etc/studio.yml |
| 43 | + - name: DJANGO_WATCHMAN_TIMEOUT |
| 44 | + value: "30" |
| 45 | + - name: EDXAPP_TEST_MONGO_HOST |
| 46 | + value: edx.devstack.mongo |
| 47 | + - name: LMS_CFG |
| 48 | + value: /edx/etc/lms.yml |
| 49 | + - name: NO_PYTHON_UNINSTALL |
| 50 | + value: "1" |
| 51 | + - name: PATH |
| 52 | + value: /edx/app/edxapp/venvs/edxapp/bin:/edx/app/edxapp/nodeenv/bin:/edx/app/edxapp/edx-platform/node_modules/.bin:/edx/app/edxapp/edx-platform/bin:/Users/dianahuang/bin:/Users/dianahuang/bin:/Users/dianahuang/.orbstack/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin |
| 53 | + - name: SERVICE_VARIANT |
| 54 | + value: cms |
| 55 | + - name: VIRTUAL_ENV |
| 56 | + value: /edx/app/edxapp/venvs/edxapp |
| 57 | + image: openedx/lms-dev:latest |
| 58 | + name: edx.devstack.cms |
| 59 | + ports: |
| 60 | + - containerPort: 18010 |
| 61 | + hostPort: 18010 |
| 62 | + protocol: TCP |
| 63 | + - containerPort: 19877 |
| 64 | + hostPort: 19877 |
| 65 | + protocol: TCP |
| 66 | + resources: {} |
| 67 | + stdin: true |
| 68 | + tty: true |
| 69 | + volumeMounts: |
| 70 | + - mountPath: /edx/var/edxapp/staticfiles |
| 71 | + name: edxapp-cms-assets |
| 72 | + hostname: cms.devstack.edx |
| 73 | + restartPolicy: Always |
| 74 | + volumes: |
| 75 | + - name: edxapp-cms-assets |
| 76 | + persistentVolumeClaim: |
| 77 | + claimName: edxapp-cms-assets |
| 78 | +status: {} |
0 commit comments