about summary refs log tree commit diff
diff options
context:
space:
mode:
authorValentin_NC <valentin.ouvrard@nautile.sarl>2017-04-05 09:06:08 +1100
committerValentin_NC <valentin.ouvrard@nautile.sarl>2017-04-05 09:06:08 +1100
commit4512fde181f3be6756518aa28220a44f50ffff38 (patch)
tree805288fc874d76474b40b0525427bff3ba146a60
parented22f65b3cdd84be5face35d82f127fff6a6b077 (diff)
add persistance to Postresql container
-rw-r--r--docker-compose.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index d6ba66dde..9a0155fbf 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