mirror of https://github.com/docker/docs.git
parent
17544f7862
commit
d2971dfd0d
|
@ -39,7 +39,7 @@ must go one level up in the hierarchy of a distributed application: the
|
||||||
- **Services** (you are here)
|
- **Services** (you are here)
|
||||||
- Container (covered in [part 2](part2.md))
|
- Container (covered in [part 2](part2.md))
|
||||||
|
|
||||||
## Understanding services
|
## About services
|
||||||
|
|
||||||
In a distributed application, different pieces of the app are called "services."
|
In a distributed application, different pieces of the app are called "services."
|
||||||
For example, if you imagine a video sharing site, it probably includes a service
|
For example, if you imagine a video sharing site, it probably includes a service
|
||||||
|
@ -57,7 +57,7 @@ service in the process.
|
||||||
Luckily it's very easy to define, run, and scale services with the Docker
|
Luckily it's very easy to define, run, and scale services with the Docker
|
||||||
platform -- just write a `docker-compose.yml` file.
|
platform -- just write a `docker-compose.yml` file.
|
||||||
|
|
||||||
## Your first `docker-compose.yml` File
|
## Your first `docker-compose.yml` file
|
||||||
|
|
||||||
A `docker-compose.yml` file is a YAML file that defines how Docker containers
|
A `docker-compose.yml` file is a YAML file that defines how Docker containers
|
||||||
should behave in production.
|
should behave in production.
|
||||||
|
|
Loading…
Reference in New Issue