2022-06-10 13:30:05 +00:00
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
|
|
dragonfly:
|
|
|
|
image: 'docker.dragonflydb.io/dragonflydb/dragonfly'
|
2022-06-23 15:37:17 +00:00
|
|
|
ulimits:
|
|
|
|
memlock: -1
|
2022-06-10 13:30:05 +00:00
|
|
|
ports:
|
|
|
|
- "6379:6379"
|
2022-06-25 18:47:31 +00:00
|
|
|
# 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"
|
2022-06-10 13:30:05 +00:00
|
|
|
volumes:
|
|
|
|
- dragonflydata:/data
|
|
|
|
volumes:
|
|
|
|
dragonflydata:
|