Skip to content

Commit

Permalink
Merge pull request coollabsio#3727 from rennokki/service/flowise
Browse files Browse the repository at this point in the history
Service: Flowise
  • Loading branch information
peaklabs-dev authored Oct 9, 2024
2 parents 2a1c1e8 + 0f5e75f commit 9f1a637
Show file tree
Hide file tree
Showing 3 changed files with 126 additions and 0 deletions.
Binary file added public/svgs/flowise.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
91 changes: 91 additions & 0 deletions templates/compose/flowise-with-databases.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# documentation: https://docs.flowiseai.com/
# slogan: Flowise is an open source low-code tool for developers to build customized LLM orchestration flows & AI agents. Also deploys Redis, Postgres and other services.
# tags: lowcode, nocode, ai, llm, openai, anthropic, machine-learning, rag, agents, chatbot, api, team, bot, flows
# logo: svgs/flowise.png
# port: 3001

volumes:
flowise_data:
pg_record_manager_data:
redis_cache_data:
qdrant_data:

services:
flowise:
image: flowiseai/flowise
restart: always
depends_on:
pg_record_manager:
condition: service_healthy
redis_cache:
condition: service_healthy
qdrant:
condition: service_healthy
environment:
- SERVICE_FQDN_FLOWISE_3001
- DEBUG=false
- DISABLE_FLOWISE_TELEMETRY=true
- PORT=3001
- DATABASE_PATH=/root/.flowise
- APIKEY_PATH=/root/.flowise
- SECRETKEY_PATH=/root/.flowise
- LOG_PATH=/root/.flowise/logs
- BLOB_STORAGE_PATH=/root/.flowise/storage
- FLOWISE_USERNAME=${SERVICE_USER_FLOWISE}
- FLOWISE_PASSWORD=${SERVICE_PASSWORD_FLOWISE}
volumes:
- flowise_data:/root/.flowise
healthcheck:
test:
- CMD-SHELL
- wget
- --no-verbose
- --tries=1
- --spider
- http://localhost:3001
interval: 5s
timeout: 5s
retries: 3
pg_record_manager:
image: "postgres:16"
restart: always
environment:
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
- POSTGRES_DB=${POSTGRES_DB:-record_manager}
volumes:
- pg_record_manager_data:/var/lib/postgresql/data
healthcheck:
test:
- CMD-SHELL
- "pg_isready -h localhost -U $${POSTGRES_USER} -d $${POSTGRES_DB}"
interval: 5s
timeout: 5s
retries: 3
redis_cache:
image: "redis:7"
restart: always
volumes:
- redis_cache_data:/data
healthcheck:
test:
- CMD-SHELL
- "redis-cli -h localhost -p 6379 ping"
interval: 5s
timeout: 5s
retries: 3
qdrant:
image: "qdrant/qdrant:latest"
restart: always
environment:
- SERVICE_FQDN_QDRANT_6333
- QDRANT__SERVICE__API_KEY=${SERVICE_PASSWORD_QDRANTAPIKEY}
volumes:
- "qdrant_data:/qdrant/storage"
healthcheck:
test:
- CMD-SHELL
- bash -c ':> /dev/tcp/127.0.0.1/6333' || exit 1
interval: 5s
timeout: 5s
retries: 3
35 changes: 35 additions & 0 deletions templates/compose/flowise.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# documentation: https://docs.flowiseai.com/
# slogan: Flowise is an open source low-code tool for developers to build customized LLM orchestration flows & AI agents.
# tags: lowcode, nocode, ai, llm, openai, anthropic, machine-learning, rag, agents, chatbot, api, team, bot, flows
# logo: svgs/flowise.png
# port: 3001

services:
flowise:
image: flowiseai/flowise
restart: always
environment:
- SERVICE_FQDN_FLOWISE_3001
- DEBUG=false
- DISABLE_FLOWISE_TELEMETRY=true
- PORT=3001
- DATABASE_PATH=/root/.flowise
- APIKEY_PATH=/root/.flowise
- SECRETKEY_PATH=/root/.flowise
- LOG_PATH=/root/.flowise/logs
- BLOB_STORAGE_PATH=/root/.flowise/storage
- FLOWISE_USERNAME=${SERVICE_USER_FLOWISE}
- FLOWISE_PASSWORD=${SERVICE_PASSWORD_FLOWISE}
volumes:
- flowise_data:/root/.flowise
healthcheck:
test:
- CMD-SHELL
- wget
- --no-verbose
- --tries=1
- --spide
- http://localhost:3001
interval: 5s
timeout: 5s
retries: 3

0 comments on commit 9f1a637

Please sign in to comment.