Skip to content

Commit 055c245

Browse files
committed
Corrected internal port in webapp docker run command
1 parent b872cfd commit 055c245

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Let's build the front end:
9595

9696
To deploy locally, we need to link to `demo-mysql` and add environmental variables with `-e`:
9797

98-
docker run --name my-first-app -d -p 8080:8080 --link demo-mysql:remote-mysql -e MYSQL_USER=root -e MYSQL_PASS=<PASSWORD> -e MYSQL_SERVER=remote-mysql webapp
98+
docker run --name my-first-app -d -p 8080:8081 --link demo-mysql:remote-mysql -e MYSQL_USER=root -e MYSQL_PASS=<PASSWORD> -e MYSQL_SERVER=remote-mysql webapp
9999

100100
Now you can access in your browser at [http://localhost:8080](http://localhost:8080)
101101

0 commit comments

Comments
 (0)