Before you go and do this, the safety half. Pineapple is sugary and wild ferments can be vigorous, which means bottles rated for pressure rather than whatever looks nice, checking them daily, and into the fridge the moment it is carbonated.
I have had a glass bottle go in a cupboard and the mess was the least of it. Open over a sink and pointed away from your face. Going from flat to dangerous takes about a day once you seal them.