Commit 69bfe651 authored by 智勇's avatar 智勇

work dir

parent 1854286d
...@@ -7,6 +7,6 @@ RUN mkdir /var/log/redis \ ...@@ -7,6 +7,6 @@ RUN mkdir /var/log/redis \
&& mkdir /var/lib/redis \ && mkdir /var/lib/redis \
&& mkdir /var/run/redis && mkdir /var/run/redis
EXPOSE 6379 6380 6381 6382 6383 26379 EXPOSE 6379 6380 6381 26379
CMD ./start.sh CMD ./start.sh
...@@ -150,7 +150,7 @@ dbfilename "dump.rdb" ...@@ -150,7 +150,7 @@ dbfilename "dump.rdb"
# The Append Only File will also be created inside this directory. # The Append Only File will also be created inside this directory.
# #
# Note that you must specify a directory here, not a file name. # Note that you must specify a directory here, not a file name.
dir "/private/var/lib/redis" dir "/var/lib/redis"
################################# REPLICATION ################################# ################################# REPLICATION #################################
...@@ -596,4 +596,3 @@ aof-rewrite-incremental-fsync yes ...@@ -596,4 +596,3 @@ aof-rewrite-incremental-fsync yes
# include /path/to/local.conf # include /path/to/local.conf
# include /path/to/other.conf # include /path/to/other.conf
# Generated by CONFIG REWRITE # Generated by CONFIG REWRITE
...@@ -150,7 +150,7 @@ dbfilename "dump.rdb" ...@@ -150,7 +150,7 @@ dbfilename "dump.rdb"
# The Append Only File will also be created inside this directory. # The Append Only File will also be created inside this directory.
# #
# Note that you must specify a directory here, not a file name. # Note that you must specify a directory here, not a file name.
dir "/private/var/lib/redis" dir "/var/lib/redis"
################################# REPLICATION ################################# ################################# REPLICATION #################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment