Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 421 Bytes

File metadata and controls

19 lines (11 loc) · 421 Bytes

Environment PHP with Docker

if you have a project with no frameworks, this is what you need to containerize each service.

Steps

$ 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