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