nginx-golang fix some minor typos (#49)
change mysql version in readme to match compose file Signed-off-by: Charlie Arehart <charlie@carehart.org>
This commit is contained in:
parent
93ff67d258
commit
bb1a5a1bfe
@ -24,7 +24,7 @@ services:
|
|||||||
build: backend
|
build: backend
|
||||||
...
|
...
|
||||||
db:
|
db:
|
||||||
image: mysql:5.7
|
image: mysql:8.0.19
|
||||||
...
|
...
|
||||||
proxy:
|
proxy:
|
||||||
build: proxy
|
build: proxy
|
||||||
|
@ -21,13 +21,15 @@ services:
|
|||||||
frontend:
|
frontend:
|
||||||
build: frontend
|
build: frontend
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
|
depends_on:
|
||||||
|
- backend
|
||||||
backend:
|
backend:
|
||||||
build: backend
|
build: backend
|
||||||
```
|
```
|
||||||
The compose file defines an application with two services `frontend` and `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.
|
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
|
## Deploy with docker-compose
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
version: "3.7"
|
version: "3.7"
|
||||||
services:
|
services:
|
||||||
frontend:
|
frontend:
|
||||||
build: frontend
|
build: frontend
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
depends_on:
|
depends_on:
|
||||||
|
Loading…
Reference in New Issue
Block a user