mirror of
https://github.com/docker/compose.git
synced 2025-05-24 00:10:13 +02:00
commit
86a9aa7788
@ -17,7 +17,7 @@ Using Compose is basically a three-step process.
|
|||||||
1. Define your app's environment with a `Dockerfile` so it can be
|
1. Define your app's environment with a `Dockerfile` so it can be
|
||||||
reproduced anywhere.
|
reproduced anywhere.
|
||||||
2. Define the services that make up your app in `docker-compose.yml` so
|
2. Define the services that make up your app in `docker-compose.yml` so
|
||||||
they can be run together in an isolated environment:
|
they can be run together in an isolated environment.
|
||||||
3. Lastly, run `docker-compose up` and Compose will start and run your entire app.
|
3. Lastly, run `docker-compose up` and Compose will start and run your entire app.
|
||||||
|
|
||||||
A `docker-compose.yml` looks like this:
|
A `docker-compose.yml` looks like this:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user