if you have a project with no frameworks, this is what you need to containerize each service.
$ mkdir php8_projects
$ cd php8_projects
$ echo "<h1>Hello, world</h1>" > index.php
$ git clone git@github.com:lugabrielbueno/docker-php.git .
$ docker-compose up -d
Now it must be run on address localhost/php8_projects and the phpmyadmin is on localhost:8080