https://github.com/hashdefault/docker-php
create a development environment with docker
https://github.com/hashdefault/docker-php
docker env environment php
Last synced: about 2 months ago
JSON representation
create a development environment with docker
- Host: GitHub
- URL: https://github.com/hashdefault/docker-php
- Owner: hashdefault
- License: mit
- Created: 2022-10-22T21:01:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-08-06T12:31:39.000Z (10 months ago)
- Last Synced: 2025-10-23T08:18:52.278Z (7 months ago)
- Topics: docker, env, environment, php
- Language: Dockerfile
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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 "
Hello, world
" > 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**_