Ok got it running. I entered the IP of my database container instead of "db". Wondering why it was not working with the standard template, whre nothing was changed.