-
Notifications
You must be signed in to change notification settings - Fork 46
Migration path for redis to valkey container with requirepass #71
Copy link
Copy link
Open
Description
My current redis setup:
my-redis:
image: redis:6.2-alpine
healthcheck:
test: redis-cli ping || exit 1
command: [
"ash",
"-c",
'
docker-entrypoint.sh
--requirepass "$$(cat /run/secrets/redis_pw)"
',
]
volumes:
- ${CONTAINER_SSD}/my_redis:/data
secrets:
- redis_pw
networks:
- redis-netMy migration attempt:
my-redis:
image: docker.io/valkey/valkey
healthcheck:
test: redis-cli ping || exit 1
command: [
"bash",
"-c",
'
valkey-server
--requirepass "$$(cat /run/secrets/redis_pw)"
',
]
volumes:
- ${CONTAINER_SSD}/my_redis:/data
secrets:
- redis_pw
networks:
- redis-netHowever it seems like valkey-server does not support requirepass.
What is the proper migration route for this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels