Skip to content

Commit

Permalink
Updated docker compose syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
paulthewalton authored Dec 2, 2021
1 parent 178f1c1 commit 202e92b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ A Docker setup for WordPress theme development.
```sh
cd docker
# THEN
docker-compose up
docker compose up
# OR
npm start # alias
```
Expand Down Expand Up @@ -148,15 +148,15 @@ For either method, the MySQL root user password is set in [docker-compose.yml](h
You may find you need to rebuild your containers if things go pear-shaped:

```sh
docker-compose up --force-recreate --build
docker compose up --force-recreate --build
# OR
npm run rebuild # alias
```

If you need to tear down everything, do the following first:

```sh
docker-compose down
docker compose down
# OR
npm run teardown # alias
```
Expand Down

0 comments on commit 202e92b

Please sign in to comment.