I have an own deployed MongoDB which is the database of my parse server. Parse server requires a DATABASE_URI and I pass mongodb://user:password@mongodb:2
DATABASE_URI
mongodb://user:password@mongodb:2