redis:
image: redis:7.2.3-alpine
restart: unless-stopped
command: ["redis-server", "--appendonly", "yes", "--loglevel", "warning"]
expose:
- "6379"
volumes:
- ./.docker/database/redis:/data
profiles:
- redis
will it work if i replace redis image with dragonfly? what do i need to change to make it work?
redis:
image: docker.dragonflydb.io/dragonflydb/dragonfly
restart: unless-stopped
command: ["redis-server", "--appendonly", "yes", "--loglevel", "warning"]
expose:
- "6379"
volumes:
- ./.docker/database/redis:/data
profiles:
- redis