From 4dded1839577603bd7987838aa7d8756394e6eba Mon Sep 17 00:00:00 2001 From: Sung <8265228+sungwoncho@users.noreply.github.com> Date: Sun, 28 Jan 2024 12:50:26 +1100 Subject: [PATCH] Update the instruction to use Docker compose v2 (#657) --- host/docker/README.md | 10 +++++----- host/docker/{docker-compose.yml => compose.yml} | 0 2 files changed, 5 insertions(+), 5 deletions(-) rename host/docker/{docker-compose.yml => compose.yml} (100%) diff --git a/host/docker/README.md b/host/docker/README.md index 95c5a469..69926481 100644 --- a/host/docker/README.md +++ b/host/docker/README.md @@ -5,18 +5,18 @@ The official Dnote docker image. ## Installing Dnote Server Using Docker 1. Install [Docker](https://docs.docker.com/install/). -2. Install Docker [Compose](https://docs.docker.com/compose/install/). -3. Download the [docker-compose.yml](https://raw.githubusercontent.com/dnote/dnote/master/host/docker/docker-compose.yml) file by running: +2. Install Docker [Compose plugin](https://docs.docker.com/compose/install/linux/). +3. Download the [compose.yml](https://raw.githubusercontent.com/dnote/dnote/master/host/docker/compose.yml) file by running: ``` -curl https://raw.githubusercontent.com/dnote/dnote/master/host/docker/docker-compose.yml > docker-compose.yml +curl https://raw.githubusercontent.com/dnote/dnote/master/host/docker/compose.yml > compose.yml ``` 4. Run the following to download the images and run the containers ``` -docker-compose pull -docker-compose up -d +docker compose pull +docker compose up -d ``` Visit http://localhost:3000 in your browser to see Dnote running. diff --git a/host/docker/docker-compose.yml b/host/docker/compose.yml similarity index 100% rename from host/docker/docker-compose.yml rename to host/docker/compose.yml