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
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,14 @@
5
5
6
6
Use WordPress locally with Docker using [Docker compose](https://docs.docker.com/compose/)
7
7
8
-
+`Dockerfile` for extending a base image and install wp-cli
9
-
+ Using a custom [Docker image](https://github.com/urre/wordpress-nginx-docker-compose-image) with [automated build on Docker Hub](https://cloud.docker.com/repository/docker/urre/wordpress-nginx-docker-compose-image)
10
-
+ Local domain ex `myapp.local`
8
+
+`Dockerfile` for extending a base image with a custom [Docker image](https://github.com/urre/wordpress-nginx-docker-compose-image) with [automated build on Docker Hub](https://cloud.docker.com/repository/docker/urre/wordpress-nginx-docker-compose-image)
9
+
+ Custom domain for example `myapp.local`
11
10
+ Custom nginx config in `./nginx`
12
11
+ Custom PHP `php.ini` config in `./config`
13
12
+ Volumes for `nginx`, `wordpress` and `mariadb`
14
13
+ WordPress using [Bedrock](https://roots.io/bedrock/) - modern development tools, easier configuration, and an improved folder structure
14
+
+ Composer
15
+
+ PhpMyAdmin
15
16
+ CLI scripts
16
17
- Create a self signed SSL certificate for using https
17
18
- Trust certs in macOS System Keychain
@@ -26,7 +27,9 @@ Use WordPress locally with Docker using [Docker compose](https://docs.docker.com
26
27
27
28
### Setup environment variables
28
29
29
-
#### For Docker
30
+
Easily set your own local domain, db settings and more. Start by creating `.env` files, like the examples below.
31
+
32
+
#### For Docker and the cli scripts
30
33
31
34
Copy `.env-example` in the project root to `.env` and edit your preferences.
32
35
@@ -103,8 +106,7 @@ docker-compose up -d
103
106
104
107
## PhpMyAdmin
105
108
106
-
PhpMyAdmin comes installed as a service in docker-compose.
107
-
109
+
PhpMyAdmin now comes installed as a service in docker-compose.
108
110
109
111
Open [http://127.0.0.1:8080/](http://127.0.0.1:8080/)
0 commit comments