Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker compose command to V2 #879

Merged
merged 2 commits into from
Aug 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- run: npm run lint
- run: npm run build
- run: npm run build:examples
- run: docker-compose -f docker/docker-compose-ci.yml up --build -d
- run: docker compose -f docker/docker-compose-ci.yml up --build -d
- run: npm run test:ci

- name: Upload coverage to Codecov
Expand Down
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $ npm run build:proto
Start MongoDB, Yorkie in a terminal session.

```bash
$ docker-compose -f docker/docker-compose.yml up --build -d
$ docker compose -f docker/docker-compose.yml up --build -d
```

Start the test in another terminal session.
Expand All @@ -79,7 +79,7 @@ To get the latest server locally, run the command below then restart containers

```bash
$ docker pull yorkieteam/yorkie:latest
$ docker-compose -f docker/docker-compose.yml up --build -d
$ docker compose -f docker/docker-compose.yml up --build -d
```

To print specific console logs, delete the line `return false` in the `onConsoleLog()` function within [`vitest.config.ts`](https://github.com/yorkie-team/yorkie-js-sdk/blob/main/vitest.config.ts#L16).
Expand Down Expand Up @@ -116,7 +116,7 @@ $ npm run test {test file path} # e.g. npm run test integration/tree_test.ts
Start MongoDB and Yorkie in a terminal session.

```bash
$ docker-compose -f docker/docker-compose.yml up --build -d
$ docker compose -f docker/docker-compose.yml up --build -d
```

Start the webpack-dev-server in another terminal session.
Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ All examples need to run the Yorkie server. So you should run the server before

```bash
# In the root directory of the repository.
$ docker-compose -f docker/docker-compose.yml up --build -d
$ docker compose -f docker/docker-compose.yml up --build -d
```

The examples have own local dependencies. So you should install dependencies before running examples.
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs-scheduler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
At project root, run below command to start Yorkie server.

```bash
$ docker-compose -f docker/docker-compose.yml up --build -d
$ docker compose -f docker/docker-compose.yml up --build -d
```

Then install dependencies and run the demo.
Expand Down
2 changes: 1 addition & 1 deletion examples/profile-stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
At project root, run below command to start Yorkie.

```bash
$ docker-compose -f docker/docker-compose.yml up --build -d
$ docker compose -f docker/docker-compose.yml up --build -d
```

Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion examples/react-tldraw/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
At project root, run below command to start Yorkie server.

```bash
$ docker-compose -f docker/docker-compose.yml up --build -d
$ docker compose -f docker/docker-compose.yml up --build -d
```

Then install dependencies and run the demo.
Expand Down
2 changes: 1 addition & 1 deletion examples/react-todomvc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
At project root, run below command to start Yorkie server.

```bash
$ docker-compose -f docker/docker-compose.yml up --build -d
$ docker compose -f docker/docker-compose.yml up --build -d
```

Then install dependencies and run the demo.
Expand Down
2 changes: 1 addition & 1 deletion examples/simultaneous-cursors/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $ npm install
At project root, run below command to start Yorkie server.

```bash
$ docker-compose -f docker/docker-compose.yml up --build -d
$ docker compose -f docker/docker-compose.yml up --build -d
```

Update the `.env` file like so:
Expand Down
2 changes: 1 addition & 1 deletion examples/vanilla-codemirror6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
At project root, run below command to start Yorkie.

```bash
$ docker-compose -f docker/docker-compose.yml up --build -d
$ docker compose -f docker/docker-compose.yml up --build -d
```

Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion examples/vanilla-quill/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $ npm install
At project root, run below command to start Yorkie.

```bash
$ docker-compose -f docker/docker-compose.yml up --build -d
$ docker compose -f docker/docker-compose.yml up --build -d
```

Update the `.env` file like so:
Expand Down
2 changes: 1 addition & 1 deletion examples/vuejs-kanban/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
At project root, run below command to start Yorkie server.

```bash
$ docker-compose -f docker/docker-compose.yml up --build -d
$ docker compose -f docker/docker-compose.yml up --build -d
```

Install dependencies
Expand Down
Loading