mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
add redis
This commit is contained in:
parent
b64cd4562a
commit
f9c54988ec
20
redis/README.md
Normal file
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
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
|
Loading…
Reference in New Issue
Block a user