I would suggest, like the others, that you paint the outside, it will make your life much easier. Cleaning algae off glass will be much easier than pain, with all the little crevices for it to hide in.
If you do have your heart set on it, I would wager that the enamel paint used for pools would be safe.