An open API service indexing awesome lists of open source software.

https://github.com/sango-tech/redis

Redis docker for development or testing
https://github.com/sango-tech/redis

Last synced: about 1 year ago
JSON representation

Redis docker for development or testing

Awesome Lists containing this project

README

          

## Redis for development or testing

### Start

```
docker-compose up
```

### Add this to your docker compose file

```
redis:
# build:
# context: .
# dockerfile: redis/Dockerfile
image: sangotech/redis:latest
privileged: true
command: sh -c "./init.sh"
volumes:
- ./data/redis:/data
ports:
- 6379:6379
```

### Push to docker hub

```
docker build --platform=linux/amd64 . -t redis -f ./redis/Dockerfile --force-rm
docker tag redis:latest sangotech/redis:1.0.1
docker push sangotech/redis:1.0.1
```