Get database url from environment variables.