docs: update docs of README.mds.
summary: update command docker compose to docker-compose.
This commit is contained in:
@@ -40,7 +40,7 @@ Make sure port 80 on the host is not being used by another container, otherwise
|
||||
## Deploy with docker compose
|
||||
|
||||
```bash
|
||||
$ docker compose up -d
|
||||
$ docker-compose up -d
|
||||
Creating network "nginx-wsgi-flask_default" with the default driver
|
||||
Building flask-app
|
||||
...
|
||||
@@ -71,7 +71,7 @@ Hello World!
|
||||
Stop and remove the containers
|
||||
|
||||
```bash
|
||||
$ docker compose down
|
||||
$ docker-compose down
|
||||
Stopping nginx-wsgi-flask_nginx-proxy_1 ... done
|
||||
Stopping nginx-wsgi-flask_flask-app_1 ... done
|
||||
Removing nginx-wsgi-flask_nginx-proxy_1 ... done
|
||||
@@ -99,6 +99,6 @@ Flask is a web development framework written in Python. It is the "backend" whic
|
||||
|
||||
A couple of sample endpoints are provided in this `docker-compose` example:
|
||||
|
||||
* `/` - Returns a "Hello World!" string.
|
||||
* `/cache-me` - Returns a string which is cached by the NGINX reverse proxy. This demonstrates an intermediary cache implementation.
|
||||
* `/info` - Returns informational headers about the request. Some are passed from NGINX for added client visibility.
|
||||
- `/` - Returns a "Hello World!" string.
|
||||
- `/cache-me` - Returns a string which is cached by the NGINX reverse proxy. This demonstrates an intermediary cache implementation.
|
||||
- `/info` - Returns informational headers about the request. Some are passed from NGINX for added client visibility.
|
||||
|
Reference in New Issue
Block a user