#!/bin/sh set -e if [ "${1%.tmpl}" != "$1" ]; then cat "$1" | envsubst > /etc/redis.conf set -- /etc/redis.conf fi docker-entrypoint.sh "$@"