1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02: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
View 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
View File

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