Remove .env file
This commit removes the `.env` file and replaces it with an `env.example` file. This will (hopefully) reduce the chances of passing a plaintext password into a public repository. - add `.env` to `.gitignore`
This commit is contained in:
@@ -0,0 +1 @@
|
||||
.env
|
||||
@@ -25,7 +25,13 @@ Make sure to [add your user to the `docker` group](https://docs.docker.com/insta
|
||||
|
||||
## Configuration
|
||||
|
||||
Edit the `.env` file to change the default IP address, MySQL root password and WordPress database name.
|
||||
1. Copy the example environment into `.env`
|
||||
|
||||
```
|
||||
cp env.example .env
|
||||
```
|
||||
|
||||
2. Edit the `.env` file to change the default IP address, MySQL root password and WordPress database name.
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -150,4 +156,4 @@ wp plugin list
|
||||
|
||||
You can also visit `http://127.0.0.1:8080` to access phpMyAdmin after starting the containers.
|
||||
|
||||
The default username is `root`, and the password is the same as supplied in the `.env` file.
|
||||
The default username is `root`, and the password is the same as supplied in the `.env` file.
|
||||
|
||||
Reference in New Issue
Block a user