Update the instruction to use Docker compose v2 (#657)

This commit is contained in:
Sung 2024-01-28 12:50:26 +11:00 committed by GitHub
commit 4dded18395
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -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.