You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-5Lines changed: 18 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -68,12 +68,25 @@ In summary, while manually setting up a web server environment on a physical or
68
68
69
69
## Usage
70
70
71
-
Clone this repository by running git clone https://github.com/basemax/ComposeDockerNginxPHP.git in your terminal.
72
-
Navigate to the cloned repository by running cd docker-compose-lemp
73
-
Run docker-compose up -d to start the containers in detached mode.
74
-
Open http://localhost:80 in your browser for Nginx. You should see the default Nginx welcome page.
75
-
Open http://localhost:8080 in your browser for PHPMyAdmin. You will be prompted to enter a username and password to log in. The default username is root and the default password is password.
71
+
### Bringing up the stack
76
72
73
+
Clone this repository onto the Docker host that will run the stack:
then navigate to project directory and start the stack's services locally using Docker Compose:
80
+
81
+
```console
82
+
docker-compose up
83
+
```
84
+
85
+
> **Note**
86
+
> You can also run all services in the background (detached mode) by appending the `-d` flag to the above command.
87
+
88
+
Now for test, Open `http://localhost:80` for Nginx. You should see the default Nginx welcome page.
89
+
Open `http://localhost:8080` in your browser for PHPMyAdmin. You will be prompted to enter a username and password to log in. The default username is `root` and the default password is `changethis`.
0 commit comments