first commit
This commit is contained in:
1
docker/redis/conf/redis.conf
Normal file
1
docker/redis/conf/redis.conf
Normal file
@ -0,0 +1 @@
|
||||
# requirepass 123456
|
13
docker/redis/dockerfile
Normal file
13
docker/redis/dockerfile
Normal 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
|
Reference in New Issue
Block a user