Changed the docker-compose example to avoid confusion
This commit is contained in:
parent
ddd3bf53e6
commit
439fa8f4b2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue