From 48ee93f42e7fc739f5af333a6a57cb29076918ec Mon Sep 17 00:00:00 2001 From: Bogdan Mihai Date: Wed, 3 Aug 2016 19:21:59 +0300 Subject: [PATCH] Mount docker postgres volume on host --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 54d8f92..187acba 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,6 +27,8 @@ services: postgres: image: postgres:9.5 + volumes: + - ./data/postgres:/var/lib/postgresql/data web: extends: base