Skip to content

Commit 38e7c76

Browse files
committed
Update readme
1 parent 244c611 commit 38e7c76

File tree

1 file changed

+24
-8
lines changed

1 file changed

+24
-8
lines changed

README.md

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@
33

44
[![Build Status](https://travis-ci.org/urre/wordpress-nginx-docker-compose.svg?branch=master)](https://travis-ci.org/urre/wordpress-nginx-docker-compose)
55

6-
Use WordPress with Docker using [Docker compose](https://docs.docker.com/compose/)
6+
Use WordPress locally with Docker using [Docker compose](https://docs.docker.com/compose/)
77

88
+ `Dockerfile` for extending a base image and install wp-cli
99
+ 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)
1010
+ Local domain ex `myapp.local`
1111
+ Custom nginx config in `./nginx`
12-
+ Custom `php.ini` config in `./config`
12+
+ Custom PHP `php.ini` config in `./config`
1313
+ Volumes for `nginx`, `wordpress` and `mariadb`
1414
+ WordPress using [Bedrock](https://roots.io/bedrock/) - modern development tools, easier configuration, and an improved folder structure
15-
+ CLI scripts for creating a self signed SSL certificate for using https
16-
+ CLI script for trusting certs in macOS System Keychain
17-
+ CLI script for setting up an entry in your host file
15+
+ CLI scripts
16+
- Create a self signed SSL certificate for using https
17+
- Trust certs in macOS System Keychain
18+
- Setup the local domain in your in `/etc/hosts`
1819

1920
## Setup
2021

@@ -30,7 +31,11 @@ cd cli && ./create-cert.sh
3031

3132
> Edit the script to your your custom domain, this example uses myapp.local
3233
33-
### Trust cert in macOS Keychain. (Chrome and Safari will trust the certs, for Firefox: add them in preferences)
34+
### Trust the cert in macOS Keychain.
35+
36+
Chrome and Safari will trust the certs using this script.
37+
38+
> In Firefox: Select Advanced, Select the Encryption tab, Click View Certificates. Navigate to where you stored the certificate and click Open, Click Import.
3439
3540
```shell
3641
cd cli && ./trust-cert.sh
@@ -81,7 +86,11 @@ docker-compose up -d
8186

8287
### Notes:
8388

84-
> When making changes to the Dockerfile : Use `docker-compose up -d --force-recreate --build`.
89+
When making changes to the Dockerfile, use:
90+
91+
```bash
92+
docker-compose up -d --force-recreate --build
93+
```
8594

8695
### Tools
8796

@@ -92,7 +101,14 @@ docker exec -it myapp-wordpress bash
92101
wp search-replace https://olddomain.com https://newdomain.com --allow-root
93102
```
94103

95-
#### Useful Docker Commands
104+
### Changelog
105+
106+
#### 2019-08-02
107+
- Added Linux support. Thanks to [@faysal-ishtiaq](https://github.com/faysal-ishtiaq).
108+
109+
***
110+
111+
### Useful Docker Commands
96112

97113
Login to the docker container
98114

0 commit comments

Comments
 (0)