Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.02 KB

setting-username-and-password.md

File metadata and controls

55 lines (38 loc) · 1.02 KB

Setting username & password

NPM

  1. Install Flowise
npm install -g flowise
  1. Start Flowise with username & password
npx flowise start --FLOWISE_USERNAME=user --FLOWISE_PASSWORD=1234
  1. Open http://localhost:3000

Docker

  1. Navigate to docker folder
cd docker
  1. Create .env file and specify the PORT, FLOWISE_USERNAME, and FLOWISE_PASSWORD
PORT=3000
FLOWISE_USERNAME=user
FLOWISE_PASSWORD=1234
  1. Pass FLOWISE_USERNAME and FLOWISE_PASSWORD to the docker-compose.yml file:
environment:
    - PORT=${PORT}
    - FLOWISE_USERNAME=${FLOWISE_USERNAME}
    - FLOWISE_PASSWORD=${FLOWISE_PASSWORD}
  1. docker-compose up -d
  2. Open http://localhost:3000
  3. You can bring the containers down by docker-compose stop

Git clone (locally)

To enable app level authentication, add FLOWISE_USERNAME and FLOWISE_PASSWORD to the .env file in packages/server:

FLOWISE_USERNAME=user
FLOWISE_PASSWORD=1234