Use Git dir to make redis config absolute path

master
Mark Veidemanis 2 years ago
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…
Cancel
Save