1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/redis/README.md

24 lines
386 B
Markdown
Raw Normal View History

2017-01-19 16:06:07 +02:00
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
2022-01-07 12:20:29 +02:00
version: "3.8"
services:
redis:
image: redis:6-alpine
command: --save 900 1
ports:
- "6379:6379"
volumes:
- ./data:/data
restart: unless-stopped
2017-01-19 16:06:07 +02:00
```
[1]: https://redis.io/