Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains a Docker Compose file for setting up a basic and functional environment for developing a PHP application.

  1. Clone the repository:
git clone https://github.com/nasserman/basic-php-development-docker.git
  1. Rename the cloned directory to a new name:
mv basic-php-development-docker my-project
  1. Change directory into the cloned directory:
cd my-project
  1. Change "container_name," "ports," and "network" in "docker-compose.yml" according to the new project settings.

  2. Create Docker Network if needed:

docker network create [docker-network-name-for-my-project]
  1. Bring up the container:
docker compose up -d
  1. Put your code into the "src" directory.

  2. Navigate to "localhost:[selected-port-in-docker-compose.yml]" to access your application.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages