update db migration to make use of docker and rename endpoint