about summary refs log tree commit diff
diff options
context:
space:
mode:
-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