File tree 2 files changed +16
-9
lines changed
2 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -17,20 +17,27 @@ Repository of `oanhnn/php-stack` Docker image.
17
17
- [x] Install curl
18
18
19
19
## Requirement
20
+
20
21
- Docker Engine & Docker Compose
21
22
22
23
## Usage
23
24
24
25
Example for a Laravel application
25
26
26
27
1 . Copy all file in ` example-laravel ` folder to your project root folder
27
-
28
- 2 . Build and run
29
-
30
- ``` bash
31
- $ docker-compose build app
32
- $ docker-compose up -d
33
- ```
28
+ 2 . Uncomment this code in ` docker-compose.yml ` (line 82-83)
29
+
30
+ ``` yml
31
+ # volumes:
32
+ # - .:/var/www/html
33
+ ```
34
+
35
+ 3 . Build and run
36
+
37
+ ``` bash
38
+ $ docker-compose build app
39
+ $ docker-compose up -d
40
+ ```
34
41
35
42
## Contributing
36
43
Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ services:
79
79
# SESSION_DRIVER: redis
80
80
# CACHE_DRIVER: redis
81
81
# BROADCAST_DRIVER: redis
82
- volumes :
83
- - .:/var/www/html
82
+ # volumes:
83
+ # - .:/var/www/html
84
84
networks :
85
85
- internal
86
86
restart : unless-stopped
You can’t perform that action at this time.
0 commit comments