diff --git a/docker-compose.yml b/docker-compose.yml
index aaeb067716a59dc7ea91da1e58d171c0584e4d03..db563277c211b28f82db996adf2bc13ee4b22dd6 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -8,6 +8,9 @@ services:
     build:
       context: .
       target: production
+    volumes:
+        - jami-web-data:/root/.local/share/jami-web
+        - jami-data:/root/.local/share/jami
     ports:
       - '8080:8080'
     stdin_open: true
@@ -20,3 +23,7 @@ services:
       context: ./daemon
       args:
         cmake_args: '-DJAMI_NODEJS=ON'
+
+volumes:
+  jami-web-data:
+  jami-data:
\ No newline at end of file