Skip to content

Commit 58f8b79

Browse files
author
Adrian McEwen
committed
Update docs to use docker compose rather than docker-compose. Part of #56
1 parent d219d21 commit 58f8b79

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ The `bootstrap` folder contains the site scss file (optimism.scss) and a subfold
7979
For production we're running the `api` and `website` components as separate Docker containers, with an off-the-shelf Postgres container to provide the database.
8080
8181
Their interactions are orchestrated with `docker compose`, so getting it running should just be a case of running:
82-
* `docker-compose build`
83-
* `docker-compose up`
82+
* `docker compose build`
83+
* `docker compose up`
8484
8585
For the email username and password, the docker compose setup expects two files `email_user` and `email_pass` in the root folder.
8686
87-
To run any database migrations, once things are running then run: `docker-compose exec api npx knex migrate:latest --env production`
87+
To run any database migrations, once things are running then run: `docker compose exec api npx knex migrate:latest --env production`
8888
8989
Any time things are pushed to the `master` branch, the [live site will automatically deploy the new version](https://github.com/DoESLiverpool/optimism/issues/48).
9090

0 commit comments

Comments
 (0)