From bcd68ae98b868db5f1e81efd0d5a368df269feec Mon Sep 17 00:00:00 2001 From: diced Date: Sun, 19 Mar 2023 16:48:08 -0700 Subject: [PATCH] refactor: docker-compose -> docker compose --- README.md | 6 +++--- package.json | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 624a0cd..4cd9c0c 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ A ShareX/file upload server that is easy to use, packed with features, and with - User invites - File Chunking (for large files) - File deletion once it reaches a certain amount of views -- Easy setup instructions on [docs](https://zipl.vercel.app/) (One command install `docker-compose up -d`) +- Easy setup instructions on [docs](https://zipl.vercel.app/) (One command install `docker compose up -d`)
View upstream documentation @@ -60,13 +60,13 @@ The website below provides documentation for more up-to-date features with the u ## Install & run with Docker -This section requires [Docker](https://docs.docker.com/get-docker/) and [docker-compose](https://docs.docker.com/compose/install/). +This section requires [Docker](https://docs.docker.com/get-docker/) and [docker compose](https://docs.docker.com/compose/install/). ```shell git clone https://github.com/diced/zipline cd zipline -docker-compose up -d +docker compose up -d ``` ### After installing diff --git a/package.json b/package.json index 84fe68c..819c08c 100644 --- a/package.json +++ b/package.json @@ -14,11 +14,11 @@ "migrate:dev": "prisma migrate dev --create-only", "start": "node dist", "lint": "next lint", - "docker:up": "docker-compose up", - "docker:down": "docker-compose down", - "docker:build-dev": "docker-compose --file docker-compose.dev.yml up --build", - "docker:up-dev": "docker-compose --file docker-compose.dev.yml up", - "docker:down-dev": "docker-compose --file docker-compose.dev.yml down", + "compose:up": "docker compose up", + "compose:down": "docker compose down", + "compose:build-dev": "docker compose --file docker-compose.dev.yml up --build", + "compose:up-dev": "docker compose --file docker-compose.dev.yml up", + "compose:down-dev": "docker compose --file docker-compose.dev.yml down", "scripts:read-config": "node --enable-source-maps dist/scripts/read-config", "scripts:import-dir": "node --enable-source-maps dist/scripts/import-dir", "scripts:list-users": "node --enable-source-maps dist/scripts/list-users",