mirror of
https://github.com/docker/compose.git
synced 2025-07-24 22:24:41 +02:00
Clearer introduction in readme
This commit is contained in:
parent
cc29b21bfc
commit
51fb2e6149
@ -6,7 +6,7 @@ Fig
|
|||||||
|
|
||||||
Fast, isolated development environments using Docker.
|
Fast, isolated development environments using Docker.
|
||||||
|
|
||||||
Define your app's environment with Docker so it can be reproduced anywhere.
|
Define your app's environment with Docker so it can be reproduced anywhere:
|
||||||
|
|
||||||
FROM orchardup/python:2.7
|
FROM orchardup/python:2.7
|
||||||
ADD . /code
|
ADD . /code
|
||||||
@ -14,7 +14,7 @@ Define your app's environment with Docker so it can be reproduced anywhere.
|
|||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
CMD python app.py
|
CMD python app.py
|
||||||
|
|
||||||
Define your app's services so they can be run alongside in an isolated environment. (No more installing Postgres on your laptop!)
|
Define your app's services so they can be run alongside in an isolated environment:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
web:
|
web:
|
||||||
@ -27,6 +27,8 @@ db:
|
|||||||
image: orchardup/postgresql
|
image: orchardup/postgresql
|
||||||
```
|
```
|
||||||
|
|
||||||
|
(No more installing Postgres on your laptop!)
|
||||||
|
|
||||||
Then type `fig up`, and Fig will start and run your entire app:
|
Then type `fig up`, and Fig will start and run your entire app:
|
||||||
|
|
||||||

|

|
||||||
|
Loading…
x
Reference in New Issue
Block a user