mirror of https://github.com/docker/compose.git
Fix readme formatting
This commit is contained in:
parent
539f1acdb8
commit
21159b801f
18
README.md
18
README.md
|
@ -118,18 +118,18 @@ You can pass extra configuration options to a container, much like with `docker
|
|||
web:
|
||||
build: web/
|
||||
|
||||
-- override the default run command
|
||||
run: bundle exec thin -p 3000
|
||||
-- override the default run command
|
||||
run: bundle exec thin -p 3000
|
||||
|
||||
-- expose ports - can also be an array
|
||||
ports: 3000
|
||||
-- expose ports - can also be an array
|
||||
ports: 3000
|
||||
|
||||
-- map volumes - can also be an array
|
||||
volumes: /tmp/cache
|
||||
-- map volumes - can also be an array
|
||||
volumes: /tmp/cache
|
||||
|
||||
-- add environment variables - can also be a dictionary
|
||||
environment:
|
||||
- RACK_ENV=development
|
||||
-- add environment variables - can also be a dictionary
|
||||
environment:
|
||||
RACK_ENV: development
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue