mirror of
https://github.com/bitinflow/laravel-docker-k8s.git
synced 2026-03-13 13:35:52 +00:00
update readme and todo
This commit is contained in:
11
readme.md
11
readme.md
@@ -24,7 +24,7 @@ The next step is to start the project, by starting the Docker image just created
|
|||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
If the image works correctly you should be able to open the following webpage. Make sure port 8181 is not used by any other application. You should see the 'Laravel' page if everything works fine.
|
If the image works correctly you should be able to open the following webpage. Make sure port 8181 is not used by any other application. You should see the 'Laravel' page if everything works fine. See the screenshot below:
|
||||||
|
|
||||||
```
|
```
|
||||||
http://localhost:8181/
|
http://localhost:8181/
|
||||||
@@ -95,6 +95,8 @@ Your default webbrowser will open a new tab using the following url:
|
|||||||
http://192.168.99.100:30000/#!/overview?namespace=default
|
http://192.168.99.100:30000/#!/overview?namespace=default
|
||||||
```
|
```
|
||||||
|
|
||||||
|
See the screenshot below:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
We can also validate the status by using the commandline. Run the following command:
|
We can also validate the status by using the commandline. Run the following command:
|
||||||
@@ -126,6 +128,8 @@ Use the port name and open the browser to validate if the image is working accor
|
|||||||
http://192.168.99.100:32469/
|
http://192.168.99.100:32469/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
See the screenshot below of Laravel running now on Kubernetes:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
In case you want to debug, you can use the following command to see the events generated by Kubernetes:
|
In case you want to debug, you can use the following command to see the events generated by Kubernetes:
|
||||||
@@ -135,7 +139,10 @@ kubectl get events
|
|||||||
```
|
```
|
||||||
|
|
||||||
### TODO
|
### TODO
|
||||||
Run the images straight from the docker.io hub:
|
- Add MySQL instances
|
||||||
|
- Add AWS & Azure Services
|
||||||
|
- Replace Laravel 5.4 with latest
|
||||||
|
- Run the images straight from the docker.io hub:
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl run --image=docker.io/pietheinstrengholt/laravel-docker-k8s:v1 laravel-docker-k8s --port=8181 --env="DOMAIN=cluster"
|
kubectl run --image=docker.io/pietheinstrengholt/laravel-docker-k8s:v1 laravel-docker-k8s --port=8181 --env="DOMAIN=cluster"
|
||||||
|
|||||||
Reference in New Issue
Block a user