Set REDMINE_PASSWORD inside the container, not at the host level.  Bring in openssl in the container in order to autogen the REDMINE_PASSWORD.