Name | Modified | Size | Downloads / Week |
---|---|---|---|
README.md | 2019-10-17 | 1.4 kB | |
Totals: 1 Item | 1.4 kB | 0 |
minikube_php_psql_redis
The environment using Minikube to show a simple PHP page with PostgreSQL and Redis.
Tested on MacOsx with: - Docker version 18.09.1, build 4c52b90 - minikube version: v0.33.1 - Client/Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.2" - Redis not tested yet!
Install, Start, Dashboard minikube
brew install minikube
eval $(minikube docker-env)
minikube start
minikube dashboard
Steps to create the environment
git clone https://github.com/garanet/minikube_php_psql_redis.git
cd minikube_php_psql_redis/
kubectl create -f minikube/php/
kubectl create -f minikube/postgres/
kubectl create -f minikube/redis/
ssh into nginx or phpfpm containers
kubectl exec -it [pod name] -c my-nginx bash
kubectl exec -it [pod name] -c phpfpm bash
Visit the PHP page connected to the PGSQL
minikube service my-nginx