nextcloud-db-deployment.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. apiVersion: extensions/v1beta1
  2. kind: Deployment
  3. metadata:
  4. annotations:
  5. io.rancher.container.pull_image: always
  6. kompose.cmd: migration-tools parse --docker-file docker-compose.yml --rancher-file
  7. rancher-compose.yml
  8. kompose.version: 1.16.0 (HEAD)
  9. creationTimestamp: null
  10. labels:
  11. io.kompose.service: nextcloud-db
  12. name: nextcloud-db
  13. spec:
  14. replicas: 0
  15. strategy:
  16. type: Recreate
  17. template:
  18. metadata:
  19. creationTimestamp: null
  20. labels:
  21. io.kompose.service: nextcloud-db
  22. spec:
  23. containers:
  24. - env:
  25. - name: MYSQL_DATABASE
  26. value: nextcloud
  27. - name: MYSQL_PASSWORD
  28. value: qT2QyZGcJ6KPfnph
  29. - name: MYSQL_ROOT_PASSWORD
  30. value: qT2QyZGcJ6KPfnph
  31. - name: MYSQL_USER
  32. value: nextcloud
  33. image: mariadb:10
  34. name: nextcloud-db
  35. resources:
  36. limits:
  37. memory: 262144e3
  38. volumeMounts:
  39. - mountPath: /var/lib/mysql
  40. name: nextcloud-db-claim0
  41. restartPolicy: Always
  42. volumes:
  43. - name: nextcloud-db-claim0
  44. persistentVolumeClaim:
  45. claimName: nextcloud-db-claim0
  46. status: {}