Skip to content

Commit ffc779b

Browse files
authored
docs: Update docker-compose commands to docker compose syntax (#4910)
1 parent fe68a92 commit ffc779b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ All the necessary infrastructure is defined in the root [docker-compose.yml](./d
127127
you will need to start a database, for example:
128128

129129
```bash
130-
docker-compose up -d mariadb
130+
docker compose up -d mariadb
131131
```
132132

133133
MariaDB/MySQL is the default that will be used by the dev server if you don't explicitly set the `DB` environment variable.
134134

135135
If for example you are doing development on the Elasticsearch plugin, you will also need to start the Elasticsearch container:
136136

137137
```bash
138-
docker-compose up -d elasticsearch
138+
docker compose up -d elasticsearch
139139
```
140140

141141
### 4. Populate test data
@@ -156,7 +156,7 @@ If you want to develop against **PostgreSQL**:
156156
1. Run the `postgres_16` Docker container.
157157

158158
```bash
159-
docker-compose up -d postgres_16
159+
docker compose up -d postgres_16
160160
```
161161

162162
2. Create a .env file in `/packages/dev-server` and declare the `DB` variable inside it:

docs/docs/guides/how-to/telemetry/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ services:
8484
You can start the services using the following command:
8585
8686
```bash
87-
docker-compose up -d jaeger loki grafana
87+
docker compose up -d jaeger loki grafana
8888
```
8989

9090
Once the images have downloaded and the containers are running, you can access:

0 commit comments

Comments
 (0)