dragonfly/contrib/docker/docker-compose.yml
Thomas Camlong 2ae6c398d4
chore: Remove version attribute from compose file (#4869)
- Removes the warning the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion

Signed-off-by: Thomas Camlong <thomas@ajnart.fr>
2025-04-01 06:05:58 +00:00

15 lines
464 B
YAML

services:
dragonfly:
image: 'docker.dragonflydb.io/dragonflydb/dragonfly'
ulimits:
memlock: -1
ports:
- "6379:6379"
# For better performance, consider `host` mode instead `port` to avoid docker NAT.
# `host` mode is NOT currently supported in Swarm Mode.
# https://docs.docker.com/compose/compose-file/compose-file-v3/#network_mode
# network_mode: "host"
volumes:
- dragonflydata:/data
volumes:
dragonflydata: