---
# System prepended metadata

title: Mariadb / Mysql sample app
tags: [Design]

---

# Mariadb / Mysql sample app
###### tags: `Design`

## notes

https://hub.docker.com/r/bitnami/wordpress/
https://catalog.redhat.com/software/containers/rhel8/mariadb-105/6065b40cdfe097aa13042b51


## \0/

* crane already has a sample app on mariadb
* https://github.com/konveyor/mig-demo-apps/tree/master/apps/mediawiki

## PR
https://github.com/openshift/oadp-operator/pull/612


# need to calculate the route fqdn in the template

https://www.magalix.com/blog/kubernetes-patterns-the-reflection-pattern
https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/
https://livebook.manning.com/book/kubernetes-in-action/chapter-8/29


# e2e oadp code
https://github.com/openshift/oadp-operator/blob/master/tests/e2e/backup_restore_suite_test.go#L103

## notes

* follow the CSI pattern here for an exception workflow
* https://github.com/openshift/oadp-operator/blob/master/tests/e2e/backup_restore_suite_test.go#L83
    * create the 


## Things to consider
https://github.com/supreetraut/mediawiki


This looks good
https://gitlab.com/baip/openshift-mediawiki/-/blob/master/openshift/templates/mediawiki-mysql.yaml

Nice write up here:
https://dev.to/duplys/building-an-exocortex-mediawiki-on-a-microk8s-kubernetes-cluster-4h7i

https://github.com/RedHatTraining


## Rewrite... simple to-do list golang web app on top of mariadb
https://betterprogramming.pub/build-a-simple-todolist-app-in-golang-82297ec25c7d

 * source https://github.com/sdil/learning/blob/master/go/todolist-mysql-go/todolist.go
 * 