diff --git a/README.md b/README.md index c12825e7..84ca109e 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,8 @@ Drag & drop UI to build your customized LLM flow using [LangchainJS](https://git 1. Go to `docker` folder at the root of the project 2. `docker-compose up -d` -3. This will automatically spins up mongodb and flowise containers -4. Open [http://localhost:3000](http://localhost:3000) -5. You can bring the containers down by `docker-compose stop` +3. Open [http://localhost:3000](http://localhost:3000) +4. You can bring the containers down by `docker-compose stop` ## 👨‍💻 Developers diff --git a/docker/Dockerfile b/docker/Dockerfile index 442b98eb..b4dedaec 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,7 +3,6 @@ FROM node:14.20.0-alpine USER root RUN apk add --no-cache git -RUN apk add --no-cache python3 py3-pip # You can install a specific version like: flowise@1.0.0 RUN npm install -g flowise diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index b64ba731..7d142cb8 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -1,14 +1,6 @@ version: '3.1' services: - mongo: - image: mongo - ports: - - '27017:27017' - restart: always - environment: - - MONGO_INITDB_DATABASE=flowiseai - flowise: image: flowiseai/flowise restart: always @@ -16,8 +8,6 @@ services: - PORT=${PORT} ports: - '${PORT}:${PORT}' - links: - - mongo volumes: - ~/.flowise:/root/.flowise command: /bin/sh -c "sleep 3; flowise start" diff --git a/packages/server/src/commands/start.ts b/packages/server/src/commands/start.ts index 334979e7..9c9e5591 100644 --- a/packages/server/src/commands/start.ts +++ b/packages/server/src/commands/start.ts @@ -1,4 +1,4 @@ -import { Command, Flags } from '@oclif/core' +import { Command } from '@oclif/core' import path from 'path' import * as Server from '../index' import * as DataSource from '../DataSource' @@ -13,10 +13,6 @@ enum EXIT_CODE { let processExitCode = EXIT_CODE.SUCCESS export default class Start extends Command { - static flags = { - mongourl: Flags.string() - } - static args = [] async stopProcess() { @@ -47,9 +43,6 @@ export default class Start extends Command { console.error('uncaughtException: ', err) }) - const { flags } = await this.parse(Start) - if (flags.mongourl) process.env.MONGO_URL = flags.mongourl - await (async () => { try { this.log('Starting Flowise...') diff --git a/packages/ui/package.json b/packages/ui/package.json index b0a9cd06..fe9ca521 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "flowise-ui", - "version": "1.0.1", + "version": "1.0.0", "license": "SEE LICENSE IN LICENSE.md", "homepage": "https://flowiseai.com", "author": {