fix(docker-compose): Fetch actual Docker Compose file and add memlock conf to service (#173)
docs(docker-compose): Fetch actual Docker Compose file fix(docker-compose): Add memlock conf to service Signed-off-by: Luca Goslar <47827429+lucagoslar@users.noreply.github.com>
This commit is contained in:
parent
7446b85bb3
commit
1ba767dc97
|
@ -17,7 +17,7 @@ This guide will have you up running DragonflyDB with `docker-compose` in just a
|
|||
|
||||
```bash
|
||||
# Download Official Dragonfly DB Docker Compose File
|
||||
wget https://github.com/dragonflydb/dragonfly/tree/main/contrib/docker/docker-compose.yml
|
||||
wget https://raw.githubusercontent.com/dragonflydb/dragonfly/main/contrib/docker/docker-compose.yml
|
||||
|
||||
# Launch the Dragonfly DB Instance
|
||||
docker-compose up -d
|
||||
|
|
|
@ -2,6 +2,8 @@ version: '3.8'
|
|||
services:
|
||||
dragonfly:
|
||||
image: 'docker.dragonflydb.io/dragonflydb/dragonfly'
|
||||
ulimits:
|
||||
memlock: -1
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
|
|
Loading…
Reference in New Issue