You can run dokku postgres:expose $SERVICE_NAME
for the postgres service to expose it on an external port, after which you can connect via your postgres commands to the database in question. Remember to call dokku postgres:unexpose $SERVICE_NAME
when you are done.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…