From e9b2c26a20a4c3d977fb9881ca3501a6e9839a04 Mon Sep 17 00:00:00 2001 From: Valentin_NC Date: Wed, 5 Apr 2017 09:06:08 +1100 Subject: [PATCH] add persistance to Postresql container --- docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index d6ba66ddeb..9a0155fbfd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,8 @@ services: db: restart: always image: postgres:alpine + volumes: + - ./postgres-data:/var/lib/postgresql/data redis: restart: always image: redis:alpine