my redis container is defined as he standard image in my docker_compose.yml
redis: image: redis ports: - \"6379\"
I guess it\'s using
Old question, but if someone still want to do that, it is possible with volumes and command:
command: redis-server /usr/local/etc/redis/redis.conf volumes: - ./redis/redis.conf:/usr/local/etc/redis/redis.conf