// docs / Infrastructure / Databases

Databases

Deploy MySQL for sharing Non Production workloads via ArgoCD


argocd app create mysql-non-production \
--repo http://gitea.home.olirowan.local/olirowan/homelab-iac.git \
--path mysql/deployments/non-production/ \
--dest-server https://kubernetes.default.svc \
--dest-namespace mysql-non-production \
--sync-policy automated \
--self-heal

Do the same for Redis


argocd app create redis-non-production \
--repo http://gitea.home.olirowan.local/olirowan/homelab-iac.git \
--path redis/deployments/non-production/ \
--dest-server https://kubernetes.default.svc \
--dest-namespace redis-non-production \
--sync-policy automated \
--self-heal


Do the same for Postgres


argocd app create postgres-non-production \
--repo http://gitea.home.olirowan.local/olirowan/homelab-iac.git \
--path postgres/deployments/non-production/ \
--dest-server https://kubernetes.default.svc \
--dest-namespace postgres-non-production \
--sync-policy automated \
--self-heal