Sign inSign up

zylarian/dockyard-flowise

By zylarian

•Updated 10 months ago

Production-ready Flowise - Drag & drop UI to build customized LLM flows

Image
0

1.8K

zylarian/dockyard-flowise repository overview

⁠Flowise - LLM Flow Builder

Production-ready Docker image for Flowise⁠, a drag & drop UI to build customized LLM flows with LangChain.

Version: 2.1.3 | Architectures: amd64, arm64

Maintained by Zylarian Innovations LLC⁠

⁠🚀 Quick Start

# Pull and run
docker run -d \
  -p 3000:3000 \
  --name flowise \
  zylarian/dockyard-flowise:latest

# Access at http://localhost:3000

⁠📦 Available Tags

TagDescription
latestLatest stable version (recommended)
2.1.3Specific version
2.1.3-debianSpecific version with explicit Debian tag
latest-debianLatest with explicit Debian tag

⁠⚙️ Configuration

⁠Environment Variables
docker run -d \
  -p 3000:3000 \
  -e PORT=3000 \
  -e FLOWISE_USERNAME=admin \
  -e FLOWISE_PASSWORD=admin123 \
  -e DATABASE_PATH=/app/data \
  -v flowise-data:/app/data \
  zylarian/dockyard-flowise:latest

Common Variables:

  • PORT - Port to listen (default: 3000)
  • FLOWISE_USERNAME - Admin username (default: admin)
  • FLOWISE_PASSWORD - Admin password (default: admin)
  • DATABASE_PATH - Database storage path (default: /app/data)
  • APIKEY_PATH - API keys storage path (default: /app/data)
  • SECRETKEY_PATH - Secret keys storage path (default: /app/data)
  • LOG_PATH - Logs storage path (default: /app/data/logs)
  • BLOB_STORAGE_PATH - Blob storage path (default: /app/data/storage)
  • CORS_ORIGINS - CORS allowed origins (comma-separated)
  • IFRAME_ORIGINS - iFrame allowed origins (comma-separated)
⁠Persistent Data

Mount a volume to persist flows, credentials, and data:

docker run -d \
  -p 3000:3000 \
  -v flowise-data:/app/data \
  zylarian/dockyard-flowise:latest

⁠🔧 Docker Compose

version: '3.8'

services:
  flowise:
    image: zylarian/dockyard-flowise:latest
    container_name: flowise
    ports:
      - "3000:3000"
    environment:
      - PORT=3000
      - FLOWISE_USERNAME=admin
      - FLOWISE_PASSWORD=changeme
      - DATABASE_PATH=/app/data
      - CORS_ORIGINS=*
    volumes:
      - flowise-data:/app/data
    restart: unless-stopped

volumes:
  flowise-data:

⁠🏥 Health Check

The image includes a built-in health check:

# Check container health
docker inspect --format='{{.State.Health.Status}}' flowise

⁠🔒 Security

  • Runs as non-root user (flowise:flowise, UID/GID 1000)
  • Minimal base image (Node.js Debian slim)
  • Built-in authentication support
  • HTTPS support via reverse proxy

⁠📊 Resource Requirements

Minimum:

  • CPU: 2 cores
  • RAM: 2GB
  • Disk: 5GB

Recommended:

  • CPU: 4+ cores
  • RAM: 4GB+
  • Disk: 10GB+

⁠🔗 Database Support

Flowise supports PostgreSQL for production deployments:

version: '3.8'

services:
  postgres:
    image: postgres:16-alpine
    environment:
      - POSTGRES_DB=flowise
      - POSTGRES_USER=flowise
      - POSTGRES_PASSWORD=flowise
    volumes:
      - postgres-data:/var/lib/postgresql/data
    restart: unless-stopped

  flowise:
    image: zylarian/dockyard-flowise:latest
    depends_on:
      - postgres
    ports:
      - "3000:3000"
    environment:
      - DATABASE_TYPE=postgres
      - DATABASE_HOST=postgres
      - DATABASE_PORT=5432
      - DATABASE_NAME=flowise
      - DATABASE_USER=flowise
      - DATABASE_PASSWORD=flowise
      - FLOWISE_USERNAME=admin
      - FLOWISE_PASSWORD=changeme
    volumes:
      - flowise-data:/app/data
    restart: unless-stopped

volumes:
  postgres-data:
  flowise-data:

⁠🐛 Troubleshooting

Container won't start:

# Check logs
docker logs flowise

# Check permissions
docker exec flowise ls -la /app/data

Port already in use:

# Use different port
docker run -d -p 8080:3000 zylarian/dockyard-flowise:latest

Flows not persisting:

# Ensure volume is mounted
docker inspect flowise | grep Mounts -A 10

⁠📝 License

Flowise is licensed under the Apache 2.0 License. This Docker image is provided as-is.

Tag summary

Content type

Image

Digest

sha256:8106285e5…

Size

833.2 MB

Last updated

10 months ago

docker pull zylarian/dockyard-flowise