Running a web server and its helper with separate commands is manageable once. A Compose file keeps the settings together so you can start the same services again. This course assumes a Docker environment with the Compose plug-in, which provides the docker compose command.
Docker Compose · Lesson 1
Compose Files
Learn to read a Compose file by finding its services, images, commands, and ports.