URL format: postgres://user:password@host:port/db?sslmode=mode Read more on PostgreSQL connection string format.