Skip to content

jnunez166/laravel-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use this repository to get started with developing your Laravel application in a Docker container.

Creator | Getting Started

 

 

Pre-requisites

  • Docker running on the host machine.
  • Docker compose running on the host machine.
  • Basic knowledge of Docker.

 

Installation

To get started, the following steps needs to be taken:

  • Clone the repo git clone git@github.com:neoighodaro/laravel-docker.git appname
  • Change to the directory cd appname
  • Copy .env.example to .env and customise the contents.
  • Run docker-compose up -d to start the containers.
  • Visit http://localhost:8888 to see your Laravel Docker instance.

 

Troubleshooting

  • Port number might be already in use, change from 8888 to another number in your docker-compose.yml file.
  • If there are container name conflicts, update the container_name value for that container in the docker-compose.yml file.
  • If you have any other issues, report them.

About

Getting Started With Laravel and Docker.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 92.9%
  • HTML 3.5%
  • JavaScript 1.4%
  • Shell 1.1%
  • Other 1.1%