refactor: docker-compose -> docker compose
This commit is contained in:
parent
d1a486ac1f
commit
bcd68ae98b
2 changed files with 8 additions and 8 deletions
|
@ -35,7 +35,7 @@ A ShareX/file upload server that is easy to use, packed with features, and with
|
||||||
- User invites
|
- User invites
|
||||||
- File Chunking (for large files)
|
- File Chunking (for large files)
|
||||||
- File deletion once it reaches a certain amount of views
|
- 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`)
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>View upstream documentation</summary>
|
<summary>View upstream documentation</summary>
|
||||||
|
@ -60,13 +60,13 @@ The website below provides documentation for more up-to-date features with the u
|
||||||
|
|
||||||
## Install & run with Docker
|
## 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
|
```shell
|
||||||
git clone https://github.com/diced/zipline
|
git clone https://github.com/diced/zipline
|
||||||
cd zipline
|
cd zipline
|
||||||
|
|
||||||
docker-compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
### After installing
|
### After installing
|
||||||
|
|
10
package.json
10
package.json
|
@ -14,11 +14,11 @@
|
||||||
"migrate:dev": "prisma migrate dev --create-only",
|
"migrate:dev": "prisma migrate dev --create-only",
|
||||||
"start": "node dist",
|
"start": "node dist",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"docker:up": "docker-compose up",
|
"compose:up": "docker compose up",
|
||||||
"docker:down": "docker-compose down",
|
"compose:down": "docker compose down",
|
||||||
"docker:build-dev": "docker-compose --file docker-compose.dev.yml up --build",
|
"compose:build-dev": "docker compose --file docker-compose.dev.yml up --build",
|
||||||
"docker:up-dev": "docker-compose --file docker-compose.dev.yml up",
|
"compose:up-dev": "docker compose --file docker-compose.dev.yml up",
|
||||||
"docker:down-dev": "docker-compose --file docker-compose.dev.yml down",
|
"compose:down-dev": "docker compose --file docker-compose.dev.yml down",
|
||||||
"scripts:read-config": "node --enable-source-maps dist/scripts/read-config",
|
"scripts:read-config": "node --enable-source-maps dist/scripts/read-config",
|
||||||
"scripts:import-dir": "node --enable-source-maps dist/scripts/import-dir",
|
"scripts:import-dir": "node --enable-source-maps dist/scripts/import-dir",
|
||||||
"scripts:list-users": "node --enable-source-maps dist/scripts/list-users",
|
"scripts:list-users": "node --enable-source-maps dist/scripts/list-users",
|
||||||
|
|
Loading…
Reference in a new issue