Skip to content

Commit

Permalink
nginx-golang fix some minor typos (#49)
Browse files Browse the repository at this point in the history
change mysql version in readme to match compose file

Signed-off-by: Charlie Arehart <charlie@carehart.org>
  • Loading branch information
carehart authored Apr 12, 2020
1 parent 93ff67d commit bb1a5a1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nginx-golang-mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
build: backend
...
db:
image: mysql:5.7
image: mysql:8.0.19
...
proxy:
build: proxy
Expand Down
6 changes: 4 additions & 2 deletions nginx-golang/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ services:
frontend:
build: frontend
ports:
- 80:80
- 80:80
depends_on:
- backend
backend:
build: backend
```
The compose file defines an application with two services `frontend` and `backend`.
When deploying the application, docker-compose maps port 80 of the frontend service container to the same port of the host as specified in the file.
Make sure port 80 on the host is not already being in use.
Make sure port 80 on the host is not already in use.

## Deploy with docker-compose

Expand Down
2 changes: 1 addition & 1 deletion nginx-golang/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.7"
services:
frontend:
build: frontend
build: frontend
ports:
- 80:80
depends_on:
Expand Down

0 comments on commit bb1a5a1

Please sign in to comment.