Flowise/docker
Vinod Kiran 2dd1791ec2
Feature: Option to add apikeys to the DB instead of api.json. (#2783)
* Feature: Option to add apikeys to the DB instead of api.json.

* add api storage type env variable

* code cleanup and simplification.

* md table fixes

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-07-26 17:52:12 +01:00
..
.env.example Feature: Option to add apikeys to the DB instead of api.json. (#2783) 2024-07-26 17:52:12 +01:00
Dockerfile Improvement - Reduce size of final docker image with multistage build (#2598) 2024-06-07 15:35:57 +01:00
README.md Fix docker command (#2743) 2024-07-12 17:57:58 +01:00
docker-compose.yml fix: Change the CMD flowise command in Dockerfile to be the same as in the document (#2563) 2024-06-04 16:23:30 +01:00

README.md

Flowise Docker Hub Image

Starts Flowise from DockerHub Image

Usage

  1. Create .env file and specify the PORT (refer to .env.example)
  2. docker compose up -d
  3. Open http://localhost:3000
  4. You can bring the containers down by docker compose stop

🔒 Authentication

  1. Create .env file and specify the PORT, FLOWISE_USERNAME, and FLOWISE_PASSWORD (refer to .env.example)
  2. Pass FLOWISE_USERNAME and FLOWISE_PASSWORD to the docker-compose.yml file:
    environment:
        - PORT=${PORT}
        - FLOWISE_USERNAME=${FLOWISE_USERNAME}
        - FLOWISE_PASSWORD=${FLOWISE_PASSWORD}
    
  3. docker compose up -d
  4. Open http://localhost:3000
  5. You can bring the containers down by docker compose stop

🌱 Env Variables

If you like to persist your data (flows, logs, apikeys, credentials), set these variables in the .env file inside docker folder:

  • DATABASE_PATH=/root/.flowise
  • APIKEY_PATH=/root/.flowise
  • LOG_PATH=/root/.flowise/logs
  • SECRETKEY_PATH=/root/.flowise
  • BLOB_STORAGE_PATH=/root/.flowise/storage

Flowise also support different environment variables to configure your instance. Read more