Add postgresql for online deployment