matomo-db-deployment.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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: matomo-db
  12. name: matomo-db
  13. spec:
  14. replicas: 0
  15. strategy:
  16. type: Recreate
  17. template:
  18. metadata:
  19. creationTimestamp: null
  20. labels:
  21. io.kompose.service: matomo-db
  22. spec:
  23. containers:
  24. - args:
  25. - --max_allowed_packet=72505856
  26. env:
  27. - name: MYSQL_DATABASE
  28. value: matomo
  29. - name: MYSQL_PASSWORD
  30. value: vergessen1974
  31. - name: MYSQL_ROOT_PASSWORD
  32. value: vergessen1974
  33. - name: MYSQL_USER
  34. value: matomo
  35. image: mariadb:latest
  36. name: matomo-db
  37. resources: {}
  38. stdin: true
  39. tty: true
  40. volumeMounts:
  41. - mountPath: /var/lib/mysql
  42. name: matomo-db-claim0
  43. restartPolicy: Always
  44. volumes:
  45. - name: matomo-db-claim0
  46. persistentVolumeClaim:
  47. claimName: matomo-db-claim0
  48. status: {}