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:
Luca Goslar 2022-06-23 17:37:17 +02:00 committed by GitHub
parent 7446b85bb3
commit 1ba767dc97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -2,6 +2,8 @@ version: '3.8'
services:
dragonfly:
image: 'docker.dragonflydb.io/dragonflydb/dragonfly'
ulimits:
memlock: -1
ports:
- "6379:6379"
volumes: