Skip to content

Commit 4478c5c

Browse files
committed
Udpdate some README.md files and change the version of node image for vuejs sample
Signed-off-by: Guillaume Lours <[email protected]>
1 parent 7b5e27d commit 4478c5c

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

react-express-mysql/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,13 @@ a434bce6d2be mysql:8.0.19 "docker-entrypoint.s…" 8
6868

6969
After the application starts, navigate to `http://localhost:3000` in your web browser.
7070

71-
![page](output.jpg)
71+
![page](./output.png)
7272

7373

7474
The backend service container has the port 80 mapped to 80 on the host.
7575
```
7676
$ curl localhost:80
77-
{"message":"Hello Docker World!"}
77+
{"message":"Hello from MySQL 8.0.19"}
7878
```
7979

8080
Stop and remove the containers

react-express-mysql/output.png

266 KB
Loading

react-java-mysql/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ b176b18fbec4 mysql:8.0.19 "docker-entrypoint.s…" 39 se
6262
```
6363

6464
After the application starts, navigate to `http://localhost:3000` in your web browser to get a colorful message.
65-
```
66-
My New React App
67-
```
65+
![page](./output.jpg)
6866

6967
Stop and remove the containers
7068
```
File renamed without changes.

vuejs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ services:
2424
- /project/node_modules
2525
```
2626
The compose file defines an application with one service `sparkjava`.
27-
When deploying the application, docker-compose maps port 8080 of the web service container to port 80 of the host as specified in the file.
28-
Make sure port 80 on the host is not already being in use.
27+
When deploying the application, docker-compose maps port 8080 of the web service container to port 8080 of the host as specified in the file.
28+
Make sure port 8080 on the host is not already being in use.
2929

3030
## Deploy with docker-compose
3131

3232
```
3333
$ docker-compose up -d
3434
Creating network "vuejs_default" with the default driver
3535
Building web
36-
Step 1/8 : FROM node:10
36+
Step 1/8 : FROM node:13.10.1-alpine
3737
...
3838
Successfully tagged vuejs_web:latest
3939
WARNING: Image for service web was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.

vuejs/vuejs/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:10
1+
FROM node:13.10.1-alpine
22

33
RUN mkdir /project
44
WORKDIR /project

0 commit comments

Comments
 (0)