diff --git a/docker/compose/docker-compose.portainer.yml b/docker/compose/docker-compose.portainer.yml index 12988c636..b0e825c7d 100644 --- a/docker/compose/docker-compose.portainer.yml +++ b/docker/compose/docker-compose.portainer.yml @@ -33,6 +33,8 @@ services: broker: image: redis:6.0 restart: unless-stopped + volumes: + - redisdata:/data db: image: postgres:13 @@ -92,3 +94,4 @@ volumes: data: media: pgdata: + redisdata: diff --git a/docker/compose/docker-compose.postgres-tika.yml b/docker/compose/docker-compose.postgres-tika.yml index f301b0d3c..ffb6c02ac 100644 --- a/docker/compose/docker-compose.postgres-tika.yml +++ b/docker/compose/docker-compose.postgres-tika.yml @@ -35,6 +35,8 @@ services: broker: image: redis:6.0 restart: unless-stopped + volumes: + - redisdata:/data db: image: postgres:13 @@ -88,3 +90,4 @@ volumes: data: media: pgdata: + redisdata: diff --git a/docker/compose/docker-compose.postgres.yml b/docker/compose/docker-compose.postgres.yml index da33b4c25..add7841d8 100644 --- a/docker/compose/docker-compose.postgres.yml +++ b/docker/compose/docker-compose.postgres.yml @@ -31,6 +31,8 @@ services: broker: image: redis:6.0 restart: unless-stopped + volumes: + - redisdata:/data db: image: postgres:13 @@ -70,3 +72,4 @@ volumes: data: media: pgdata: + redisdata: diff --git a/docker/compose/docker-compose.sqlite-tika.yml b/docker/compose/docker-compose.sqlite-tika.yml index f50e51aab..4faf07bd3 100644 --- a/docker/compose/docker-compose.sqlite-tika.yml +++ b/docker/compose/docker-compose.sqlite-tika.yml @@ -36,6 +36,8 @@ services: broker: image: redis:6.0 restart: unless-stopped + volumes: + - redisdata:/data webserver: image: jonaswinkler/paperless-ng:latest @@ -76,3 +78,4 @@ services: volumes: data: media: + redisdata: diff --git a/docker/compose/docker-compose.sqlite.yml b/docker/compose/docker-compose.sqlite.yml index f49e1d1e9..cd6ab68b1 100644 --- a/docker/compose/docker-compose.sqlite.yml +++ b/docker/compose/docker-compose.sqlite.yml @@ -28,6 +28,8 @@ services: broker: image: redis:6.0 restart: unless-stopped + volumes: + - redisdata:/data webserver: image: jonaswinkler/paperless-ng:latest @@ -54,3 +56,4 @@ services: volumes: data: media: + redisdata: