You had a very active ferment, and your bucket couldn't handle the pressure. Shouldn't be a big deal. Just pull your airlock and clean it out, then seal everything back up. If you read around on here, you'll see that this happens quite often.
Best of luck, and welcome to the forum!
May you go marching in three-measure time
Dressed up as asses, drunk to the nines
Swing from the rafters, shouting those songs
Gone unsung for far too long