1、redis 概述
redis 官网地址: https://redis.io/
redis github地址:https://github.com/redis/redis/tree/6.2
2、redis 安装
2.1 redis docker-compose 安装
1、先去github地址:https://github.com/redis/redis/tree/6.2 下载相应版本的 redis.conf
version: '3.7'
services:
redis:
container_name: "redis"
image: redis:6.2
restart: always
environment:
TZ: "Asia/Shanghai"
command: [ "redis-server", "/etc/redis.conf" ]
ports:
- "6379:6379"
volumes:
- ./redis.conf:/etc/redis.conf
logging:
driver: "json-file"
options:
max-size: "10M"
# deploy:
# resources:
# limits:
# cpus: '1.00'
# memory: 2G
标签:github,https,redis,初级,6.2,conf,安装
From: https://www.cnblogs.com/shijunjie/p/17219673.html