Skip to content

Commit 0fe65b4

Browse files
authored
Merge pull request #8950 from cfpb/BrewCityBoy-remove-docker-dashes
Update 'docker-compose' to 'docker compose'
2 parents fc3c063 + 7372f7c commit 0fe65b4

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/installation.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ This quickstart requires a working Docker Desktop installation and git:
1111
cd consumerfinance.gov
1212
```
1313

14-
- [Set up and run the Docker containers via docker-compose](#set-up-and-run-the-docker-containers):
14+
- [Set up and run the Docker containers via docker compose](#set-up-and-run-the-docker-containers):
1515

1616
```sh
17-
docker-compose up
17+
docker compose up
1818
```
1919

2020
This may take some time, as it will also
@@ -207,15 +207,15 @@ yarn build
207207

208208
consumerfinance.gov depends on PostgreSQL database and Elasticsearch.
209209
You can use
210-
[`docker-compose`](https://docs.docker.com/compose/)
210+
[`docker compose`](https://docs.docker.com/compose/)
211211
to run these services along side the consumerfinance.gov Django site.
212212

213213
To build and run our Docker containers for the first time, run:
214214

215-
#### docker-compose:
215+
#### docker compose:
216216

217217
```sh
218-
docker-compose up
218+
docker compose up
219219
```
220220

221221
### Load initial data
@@ -235,7 +235,7 @@ and then does the following:
235235
This script must be run inside the Docker `python` container:
236236

237237
```sh
238-
docker-compose exec python sh
238+
docker compose exec python sh
239239
./initial-data.sh
240240
```
241241

@@ -250,7 +250,7 @@ inside a Docker `python` container sh immediately before running
250250
`refresh-data.sh`:
251251

252252
```sh
253-
docker-compose exec python sh
253+
docker compose exec python sh
254254
CFGOV_PROD_DB_LOCATION=http://(rest of the URL)
255255
./refresh-data.sh
256256
```
@@ -273,7 +273,7 @@ along with the consumerfinance.gov Django site.
273273

274274
The consumerfinance.gov Django site can be run locally in a virtualenv and can
275275
use PostgreSQL and Elasticsearch from either
276-
our [`docker-compose`](https://docs.docker.com/compose/) file
276+
our [`docker compose`](https://docs.docker.com/compose/) file
277277
or from Homebrew.
278278

279279
### PostgreSQL and Elasticsearch from Docker
@@ -282,11 +282,11 @@ To build and start only
282282
the PostgreSQL (`postgres`)
283283
and Elasticsearch (`elasticsearch`)
284284
containers from our
285-
[`docker-compose`](https://docs.docker.com/compose/) file,
286-
explicitly specify them as arguments to `docker-compose`:
285+
[`docker compose`](https://docs.docker.com/compose/) file,
286+
explicitly specify them as arguments to `docker compose`:
287287

288288
```
289-
docker-compose up postgres elasticsearch
289+
docker compose up postgres elasticsearch
290290
```
291291

292292
This will expose

0 commit comments

Comments
 (0)