Use Git dir to make redis config absolute path
This commit is contained in:
parent
1f51bf2972
commit
a5b25b2048
|
@ -28,7 +28,7 @@ services:
|
|||
image: redis
|
||||
command: redis-server /etc/redis.conf
|
||||
volumes:
|
||||
- ${PWD}/docker/redis.conf:/etc/redis.conf
|
||||
- ${PORTAINER_GIT_DIR}/docker/redis.conf:/etc/redis.conf
|
||||
volumes_from:
|
||||
- tmp
|
||||
|
||||
|
|
Loading…
Reference in New Issue