Skip to content

Commit de790d8

Browse files
committed
Updates README
1 parent e0362b6 commit de790d8

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
11
# docker-compose-laravel
2-
A docker-compose workflow for local Laravel development
2+
A pretty simplified docker-compose workflow that sets up a LEMP network of containers for local Laravel development. You can view the full article that inspired this repo [here](https://medium.com/@aschmelyun).
3+
4+
5+
## Usage
6+
7+
To get started, make sure you have [Docker installed](https://docs.docker.com/docker-for-mac/install/) on your system, and then clone this repository. Add your entire Laravel project to the `src` folder, then open a terminal and from this cloned respository's root run `docker-compose build && docker-compose up -d`.
8+
9+
Open up your browser of choice to [http://localhost:8080](http://localhost:8080) and you should see your Laravel app running as intended.
10+
11+
Containers created and their ports are as follows:
12+
13+
- **nginx** - `:8080`
14+
- **mysql** - `:3306`
15+
- **php** - `:9000`

0 commit comments

Comments
 (0)