Merge pull request #3326 from CRogers/patch-1

Readme should use new docker compose format instead of the old one
This commit is contained in:
Ben Firshman 2016-04-20 23:06:35 +01:00
commit a0aea42f75

View File

@ -22,14 +22,15 @@ they can be run together in an isolated environment:
A `docker-compose.yml` looks like this: A `docker-compose.yml` looks like this:
version: '2'
services:
web: web:
build: . build: .
ports: ports:
- "5000:5000" - "5000:5000"
volumes: volumes:
- .:/code - .:/code
links:
- redis
redis: redis:
image: redis image: redis