Run pre-commit on all files
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
parent
fae6454661
commit
59d4f304ee
64 changed files with 250 additions and 223 deletions
|
|
@ -20,4 +20,4 @@ Options:
|
|||
|
||||
Services are built once and then tagged as `project_service`, e.g.,
|
||||
`composetest_db`. If you change a service's Dockerfile or the contents of its
|
||||
build directory, run `docker-compose build` to rebuild it.
|
||||
build directory, run `docker-compose build` to rebuild it.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ description = "docker-compose Command Binary"
|
|||
keywords = ["fig, composition, compose, docker, orchestration, cli, docker-compose"]
|
||||
[menu.main]
|
||||
parent = "smn_compose_cli"
|
||||
weight=-2
|
||||
weight=-2
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ description = "Compose CLI reference"
|
|||
keywords = ["fig, composition, compose, docker, orchestration, cli, reference"]
|
||||
[menu.main]
|
||||
identifier = "smn_compose_cli"
|
||||
parent = "smn_compose_ref"
|
||||
parent = "smn_compose_ref"
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ The following pages describe the usage information for the [docker-compose](/ref
|
|||
|
||||
* [build](/reference/build.md)
|
||||
* [help](/reference/help.md)
|
||||
* [kill](/reference/kill.md)
|
||||
* [kill](/reference/kill.md)
|
||||
* [ps](/reference/ps.md)
|
||||
* [restart](/reference/restart.md)
|
||||
* [run](/reference/run.md)
|
||||
|
|
@ -23,7 +23,7 @@ The following pages describe the usage information for the [docker-compose](/ref
|
|||
* [up](/reference/up.md)
|
||||
* [logs](/reference/logs.md)
|
||||
* [port](/reference/port.md)
|
||||
* [pull](/reference/pull.md)
|
||||
* [pull](/reference/pull.md)
|
||||
* [rm](/reference/rm.md)
|
||||
* [scale](/reference/scale.md)
|
||||
* [stop](/reference/stop.md)
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ Options:
|
|||
Forces running containers to stop by sending a `SIGKILL` signal. Optionally the
|
||||
signal can be passed, for example:
|
||||
|
||||
$ docker-compose kill -s SIGINT
|
||||
$ docker-compose kill -s SIGINT
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ description = "Introduction to the CLI"
|
|||
keywords = ["fig, composition, compose, docker, orchestration, cli, reference"]
|
||||
[menu.main]
|
||||
parent = "smn_compose_cli"
|
||||
weight=-2
|
||||
weight=-2
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
|
|
|
|||
|
|
@ -20,4 +20,4 @@ Options:
|
|||
instances of a service [default: 1]
|
||||
```
|
||||
|
||||
Prints the public port for a port binding.
|
||||
Prints the public port for a port binding.
|
||||
|
|
|
|||
|
|
@ -15,4 +15,4 @@ parent = "smn_compose_cli"
|
|||
Usage: pull [options] [SERVICE...]
|
||||
```
|
||||
|
||||
Pulls service images.
|
||||
Pulls service images.
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ Options:
|
|||
-T Disable pseudo-tty allocation. By default `docker-compose run` allocates a TTY.
|
||||
```
|
||||
|
||||
Runs a one-time command against a service. For example, the following command starts the `web` service and runs `bash` as its command.
|
||||
Runs a one-time command against a service. For example, the following command starts the `web` service and runs `bash` as its command.
|
||||
|
||||
$ docker-compose run web bash
|
||||
|
||||
|
|
@ -52,7 +52,3 @@ This would open up an interactive PostgreSQL shell for the linked `db` container
|
|||
If you do not want the `run` command to start linked containers, specify the `--no-deps` flag:
|
||||
|
||||
$ docker-compose run --no-deps web python manage.py shell
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -18,4 +18,4 @@ Sets the number of containers to run for a service.
|
|||
|
||||
Numbers are specified as arguments in the form `service=num`. For example:
|
||||
|
||||
$ docker-compose scale web=2 worker=3
|
||||
$ docker-compose scale web=2 worker=3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue