添加docker支持

This commit is contained in:
RuoYi
2021-06-02 09:58:36 +08:00
committed by 疯狂的狮子li
parent 3cb02f340e
commit b4c0007acc
18 changed files with 429 additions and 1 deletions

View File

@@ -0,0 +1 @@
# requirepass 123456

13
docker/redis/dockerfile Normal file
View File

@@ -0,0 +1,13 @@
# 基础镜像
FROM redis
# author
MAINTAINER ruoyi
# 挂载目录
VOLUME /home/ruoyi/redis
# 创建目录
RUN mkdir -p /home/ruoyi/redis
# 指定路径
WORKDIR /home/ruoyi/redis
# 复制conf文件到路径
COPY ./conf/redis.conf /home/ruoyi/redis/redis.conf