diff --git a/docker/compose/docker-compose.portainer.yml b/docker/compose/docker-compose.portainer.yml index 12988c636..79d45d27f 100644 --- a/docker/compose/docker-compose.portainer.yml +++ b/docker/compose/docker-compose.portainer.yml @@ -33,7 +33,8 @@ services: broker: image: redis:6.0 restart: unless-stopped - + volumes: + - redisdata:/data db: image: postgres:13 restart: unless-stopped @@ -92,3 +93,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..b3990af23 100644 --- a/docker/compose/docker-compose.postgres-tika.yml +++ b/docker/compose/docker-compose.postgres-tika.yml @@ -35,7 +35,8 @@ services: broker: image: redis:6.0 restart: unless-stopped - + volumes: + - redisdata:/data db: image: postgres:13 restart: unless-stopped @@ -88,3 +89,4 @@ volumes: data: media: pgdata: + redisdata: diff --git a/docker/compose/docker-compose.postgres.yml b/docker/compose/docker-compose.postgres.yml index da33b4c25..b416fce44 100644 --- a/docker/compose/docker-compose.postgres.yml +++ b/docker/compose/docker-compose.postgres.yml @@ -31,7 +31,8 @@ services: broker: image: redis:6.0 restart: unless-stopped - + volumes: + - redisdata:/data db: image: postgres:13 restart: unless-stopped @@ -70,3 +71,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..f6cb41a1e 100644 --- a/docker/compose/docker-compose.sqlite-tika.yml +++ b/docker/compose/docker-compose.sqlite-tika.yml @@ -36,7 +36,8 @@ services: broker: image: redis:6.0 restart: unless-stopped - + volumes: + - redisdata:/data webserver: image: jonaswinkler/paperless-ng:latest restart: unless-stopped @@ -76,3 +77,4 @@ services: volumes: data: media: + redisdata: diff --git a/docker/compose/docker-compose.sqlite.yml b/docker/compose/docker-compose.sqlite.yml index f49e1d1e9..655d23b4a 100644 --- a/docker/compose/docker-compose.sqlite.yml +++ b/docker/compose/docker-compose.sqlite.yml @@ -28,7 +28,8 @@ services: broker: image: redis:6.0 restart: unless-stopped - + volumes: + - redisdata:/data webserver: image: jonaswinkler/paperless-ng:latest restart: unless-stopped @@ -54,3 +55,4 @@ services: volumes: data: media: + redisdata: