fd
This commit is contained in:
parent
fd26d4646c
commit
4df998342a
1 changed files with 3 additions and 1 deletions
|
@ -56,7 +56,9 @@ services:
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
command: redis-server --dbfilename dump.rdb --always-show-logo yes --dir ./ --pidfile /var/run/redis_6379.pid
|
command: >
|
||||||
|
bash -c "redis-server --dbfilename dump.rdb --always-show-logo yes --dir ./ --pidfile /var/run/redis_6379.pid
|
||||||
|
&& redis-cli config get dir"
|
||||||
volumes:
|
volumes:
|
||||||
- "./:/service"
|
- "./:/service"
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue