1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-24 07:48:38 +00:00

add redis

This commit is contained in:
kev 2017-01-19 22:06:07 +08:00
parent b64cd4562a
commit f9c54988ec
5 changed files with 27 additions and 0 deletions

20
redis/README.md Normal file

@ -0,0 +1,20 @@
redis
=====
![](https://redis.io/images/redis-white.png)
[Redis][1] is an open source key-value store that functions as a data structure server.
## docker-compose.yml
```yaml
redis:
image: redis:alpine
ports:
- "127.0.0.1:6379:6379"
volumes:
- ./data:/data
restart: always
```
[1]: https://redis.io/

7
redis/docker-compose.yml Normal file

@ -0,0 +1,7 @@
redis:
image: redis:alpine
ports:
- "127.0.0.1:6379:6379"
volumes:
- ./data:/data
restart: always