docker-compose links them, they share a DB on a volume container, and expose the web interface on the host port 12345