Skip to content

Latest commit

 

History

History
67 lines (42 loc) · 2.1 KB

README.md

File metadata and controls

67 lines (42 loc) · 2.1 KB

skeleton-docker-php

  1. About project
  2. Set up project
  3. Additional information
  4. Future improvements
  5. License

About project

Set up project

Prerequisites

Installation

Clone repository and move inside:

git clone https://github.com/burus86/skeleton-docker-php.git

cd skeleton-docker-php

Build and up all docker containers defined in docker/docker-compose.yml:

make docker-start

Execute project

Open in your favorite web browser the website http://localhost:8080/.

Captura

Additional information

Stop all docker containers defined in docker/docker-compose.yml:

make docker-stop

List of all docker containers created, with an optional parameter OPTIONS:

make docker-ps
make docker-ps OPTIONS=-as

Show logs for PHP docker container:

make docker-logs

Access bash for PHP docker container:

make docker-bash

Future improvements

  • Upgrade PHP to latest stable version: 8.2
  • Add database container: MySQL or PostgreSQL

License

This project is licensed under the MIT License - see the LICENSE file for details.