Skip to content

armgit / ODS

Public Imported from GitHub
0

ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.

1.3 KB
Raw Blame
services:
  flowise:
    image: flowiseai/flowise:2.2.7@sha256:aa511ea7601f11fbdce4236bff996d40d4134e08e87b6cb8873c4eb4b40276a9
    container_name: ods-flowise
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    environment:
      - PORT=3000
      - DATABASE_PATH=/root/.flowise
      - APIKEY_PATH=/root/.flowise
      - SECRETKEY_PATH=${FLOWISE_SECRETKEY_PATH:-/root/.flowise/secretkey}
      - LOG_PATH=/root/.flowise/logs
      - BLOB_STORAGE_PATH=/root/.flowise/storage
      - FLOWISE_USERNAME=${FLOWISE_USERNAME:?FLOWISE_USERNAME must be set}
      - FLOWISE_PASSWORD=${FLOWISE_PASSWORD:?FLOWISE_PASSWORD must be set}
      - FLOWISE_SECRETKEY_OVERWRITE=${FLOWISE_SECRETKEY_OVERWRITE:-}
      - IFRAME_ORIGINS=${FLOWISE_IFRAME_ORIGINS:-}
      - DISABLE_FLOWISE_TELEMETRY=${FLOWISE_DISABLE_TELEMETRY:-true}
    volumes:
      - ./data/flowise:/root/.flowise:rw
    ports:
      - "127.0.0.1:${FLOWISE_PORT:-7801}:3000"
    healthcheck:
      test: ["CMD", "wget", "--spider", "-q", "http://127.0.0.1:3000/api/v1/ping"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 60s
    networks:
      - ods-network
    deploy:
      resources:
        limits:
          cpus: '2.0'
          memory: 4G
        reservations:
          cpus: '0.5'
          memory: 1G

networks:
  ods-network:
    external: true