Fix docker command (#2743)
* fix docker compose * correct docker compose command
This commit is contained in:
parent
3cbbd59242
commit
7166317482
|
|
@ -44,9 +44,9 @@ Download and Install [NodeJS](https://nodejs.org/en/download) >= 18.15.0
|
||||||
|
|
||||||
1. Go to `docker` folder at the root of the project
|
1. Go to `docker` folder at the root of the project
|
||||||
2. Copy `.env.example` file, paste it into the same location, and rename to `.env`
|
2. Copy `.env.example` file, paste it into the same location, and rename to `.env`
|
||||||
3. `docker-compose up -d`
|
3. `docker compose up -d`
|
||||||
4. Open [http://localhost:3000](http://localhost:3000)
|
4. Open [http://localhost:3000](http://localhost:3000)
|
||||||
5. You can bring the containers down by `docker-compose stop`
|
5. You can bring the containers down by `docker compose stop`
|
||||||
|
|
||||||
### Docker Image
|
### Docker Image
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ Starts Flowise from [DockerHub Image](https://hub.docker.com/r/flowiseai/flowise
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
1. Create `.env` file and specify the `PORT` (refer to `.env.example`)
|
1. Create `.env` file and specify the `PORT` (refer to `.env.example`)
|
||||||
2. `docker-compose up -d`
|
2. `docker compose up -d`
|
||||||
3. Open [http://localhost:3000](http://localhost:3000)
|
3. Open [http://localhost:3000](http://localhost:3000)
|
||||||
4. You can bring the containers down by `docker-compose stop`
|
4. You can bring the containers down by `docker compose stop`
|
||||||
|
|
||||||
## 🔒 Authentication
|
## 🔒 Authentication
|
||||||
|
|
||||||
|
|
@ -19,9 +19,9 @@ Starts Flowise from [DockerHub Image](https://hub.docker.com/r/flowiseai/flowise
|
||||||
- FLOWISE_USERNAME=${FLOWISE_USERNAME}
|
- FLOWISE_USERNAME=${FLOWISE_USERNAME}
|
||||||
- FLOWISE_PASSWORD=${FLOWISE_PASSWORD}
|
- FLOWISE_PASSWORD=${FLOWISE_PASSWORD}
|
||||||
```
|
```
|
||||||
3. `docker-compose up -d`
|
3. `docker compose up -d`
|
||||||
4. Open [http://localhost:3000](http://localhost:3000)
|
4. Open [http://localhost:3000](http://localhost:3000)
|
||||||
5. You can bring the containers down by `docker-compose stop`
|
5. You can bring the containers down by `docker compose stop`
|
||||||
|
|
||||||
## 🌱 Env Variables
|
## 🌱 Env Variables
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,9 +44,9 @@
|
||||||
|
|
||||||
1. プロジェクトのルートにある `docker` フォルダに移動する
|
1. プロジェクトのルートにある `docker` フォルダに移動する
|
||||||
2. `.env.example` ファイルをコピーして同じ場所に貼り付け、名前を `.env` に変更する
|
2. `.env.example` ファイルをコピーして同じ場所に貼り付け、名前を `.env` に変更する
|
||||||
3. `docker-compose up -d`
|
3. `docker compose up -d`
|
||||||
4. [http://localhost:3000](http://localhost:3000) を開く
|
4. [http://localhost:3000](http://localhost:3000) を開く
|
||||||
5. コンテナを停止するには、`docker-compose stop` を使用します
|
5. コンテナを停止するには、`docker compose stop` を使用します
|
||||||
|
|
||||||
### Docker Image
|
### Docker Image
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,9 +44,9 @@
|
||||||
|
|
||||||
1. 프로젝트의 최상위(root) 디렉토리에 있는 `docker` 폴더로 이동하세요.
|
1. 프로젝트의 최상위(root) 디렉토리에 있는 `docker` 폴더로 이동하세요.
|
||||||
2. `.env.example` 파일을 복사한 후, 같은 경로에 붙여넣기 한 다음, `.env`로 이름을 변경합니다.
|
2. `.env.example` 파일을 복사한 후, 같은 경로에 붙여넣기 한 다음, `.env`로 이름을 변경합니다.
|
||||||
3. `docker-compose up -d` 실행
|
3. `docker compose up -d` 실행
|
||||||
4. [http://localhost:3000](http://localhost:3000) URL 열기
|
4. [http://localhost:3000](http://localhost:3000) URL 열기
|
||||||
5. `docker-compose stop` 명령어를 통해 컨테이너를 종료시킬 수 있습니다.
|
5. `docker compose stop` 명령어를 통해 컨테이너를 종료시킬 수 있습니다.
|
||||||
|
|
||||||
### 도커 이미지 활용
|
### 도커 이미지 활용
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,9 +44,9 @@
|
||||||
|
|
||||||
1. 进入项目根目录下的 `docker` 文件夹
|
1. 进入项目根目录下的 `docker` 文件夹
|
||||||
2. 创建 `.env` 文件并指定 `PORT`(参考 `.env.example`)
|
2. 创建 `.env` 文件并指定 `PORT`(参考 `.env.example`)
|
||||||
3. 运行 `docker-compose up -d`
|
3. 运行 `docker compose up -d`
|
||||||
4. 打开 [http://localhost:3000](http://localhost:3000)
|
4. 打开 [http://localhost:3000](http://localhost:3000)
|
||||||
5. 可以通过 `docker-compose stop` 停止容器
|
5. 可以通过 `docker compose stop` 停止容器
|
||||||
|
|
||||||
### Docker 镜像
|
### Docker 镜像
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue