Changed the docker-compose example to avoid confusion

This commit is contained in:
Fábio Batista 2017-06-06 00:43:25 -03:00
parent ddd3bf53e6
commit 439fa8f4b2
1 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ You can use `docker-compose` for that:
version: "2" version: "2"
volumes: volumes:
s3vol: s3data:
driver: local driver: local
services: services:
@ -87,11 +87,11 @@ services:
image: elementar/s3-volume image: elementar/s3-volume
command: s3://mybucket/someprefix command: s3://mybucket/someprefix
volumes: volumes:
- s3vol:/data - s3data:/data
db: db:
image: postgres image: postgres
volumes: volumes:
- s3vol:/var/lib/postgresql/data - s3data:/var/lib/postgresql/data
``` ```
## Contributing ## Contributing