Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

Docker - Arm64 support

Open Surgical17 opened this issue 2 years ago • 1 comments

It seems like currently Arm64 is not supported as shown in response below:

WARNING: The DATABASE_PATH variable is not set. Defaulting to a blank string. WARNING: The EXECUTION_MODE variable is not set. Defaulting to a blank string. Creating network "docker_default" with the default driver Pulling flowise (flowiseai/flowise:)... latest: Pulling from flowiseai/flowise ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries

I also see there is a Database Path and Execution mode in the .env but no details regarding its use.

Surgical17 avatar Jun 23 '23 13:06 Surgical17

currently docker arm64 is blocked by this issue - https://github.com/ewfian/faiss-node/issues/17

will update as soon as its being resolved.

for now you can get around with it using amd64:

version: '3.1'

services:
    flowise:
        platform: linux/amd64
        image: flowiseai/flowise
        restart: always
        environment:
            - PORT=${PORT}
            - FLOWISE_USERNAME=${FLOWISE_USERNAME}
            - FLOWISE_PASSWORD=${FLOWISE_PASSWORD}
            - DATABASE_PATH=${DATABASE_PATH}
            - EXECUTION_MODE=${EXECUTION_MODE}
        ports:
            - '${PORT}:${PORT}'
        volumes:
            - ~/.flowise:/root/.flowise
        command: /bin/sh -c "sleep 3; flowise start"

Will update the docs on env variables

HenryHengZJ avatar Jun 23 '23 13:06 HenryHengZJ

Built a docker image with multiple platform support using the original DockerFile.

https://hub.docker.com/repository/docker/impranshu/flowise-ai/tags?page=1&ordering=last_updated

Use the following command to build :

docker buildx build --platform linux/arm64,linux/amd64 --tag replace_with_with_your_dockername/flowise-ai:v1 --output "type=registry" .

IMPranshu avatar Jul 05 '23 07:07 IMPranshu

You can now pull from arm64 docker image in v1.2.14: image

HenryHengZJ avatar Jul 05 '23 21:07 HenryHengZJ