1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/redis/README.md
2022-01-07 18:20:29 +08:00

386 B

redis

Redis is an open source key-value store that functions as a data structure server.

docker-compose.yml

version: "3.8"
services:
  redis:
    image: redis:6-alpine
    command: --save 900 1
    ports:
      - "6379:6379"
    volumes:
      - ./data:/data
    restart: unless-stopped