Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit c730803

Browse files
committed
use .env so -f ./dev/docker-compose.yml is unnecessary
1 parent 52a4e5b commit c730803

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
COMPOSE_FILE=./dev/docker-compose.yml

development.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -201,20 +201,20 @@ you can run the following pattern from the root directory of this repository
201201
after cloning it.
202202

203203
```shell
204-
docker compose -f ./dev/docker-compose.yml [command]
204+
docker compose [command]
205205
```
206206

207207
Be sure to substitute `[command]` for a valid docker compose command, such as
208208
the following to build and start containers:
209209

210210
```shell
211-
docker compose -f ./dev/docker-compose.yml up
211+
docker compose up
212212
```
213213

214214
Or to stop containers:
215215

216216
```shell
217-
docker compose -f ./dev/docker-compose.yml down
217+
docker compose down
218218
```
219219

220220
The first time the build process is run via `docker compose -f
@@ -233,5 +233,5 @@ will persisist between docker sessions.
233233
234234
If you need to reset the WordPress install to a "clean slate" you can simply
235235
delete the `db` and `wordpress` directories respectively, and then run `docker
236-
compose -f ./dev/docker-compose.yml up` again to initialize a clean install
236+
compose up` again to initialize a clean install
237237
build.

0 commit comments

Comments
 (0)