Skip to content

How to upgrade from redis-stack 7 to redis 8 #14020

Discussion options

You must be logged in to vote
services:
   redis:
-    image: redis/redis-stack:7.4.0-v1
+    image: redis:8
     ports:
       - 6379:6379 # redis server
-      - 8001:8001 # redis insight
-    environment:
-      REDIS_ARGS: --requirepass supersecure
+    command: >
+      --requirepass supersecure
     volumes:
       - redisearch-data:/data

+  redisinsight: # optional for debug and visualize redis data
+    image: redis/redisinsight:latest
+    ports:
+      - 5540:5540 # redis insight: to connect use "redis://default:supersecure@redis:6379"
+    volumes:
+      - redisinsight-data:/data

volumes:
  redisearch-data:

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@sundb
Comment options

sundb May 7, 2025
Collaborator

@alexander-schranz
Comment options

@alexander-schranz
Comment options

@alexander-schranz
Comment options

Answer selected by alexander-schranz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants