From aa4899923e635975781b69e97b31196df9ac7da5 Mon Sep 17 00:00:00 2001 From: chungyau97 Date: Mon, 24 Nov 2025 15:10:15 +0800 Subject: [PATCH] chore(docker\docker-compose.yml): standardize to single non-root Dockerfile --- docker/.env.example | 8 ++++---- docker/docker-compose.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docker/.env.example b/docker/.env.example index 2240edeb8..73110b90e 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -6,7 +6,7 @@ PORT=3000 ############################################## DATABASE #################################################### ############################################################################################################ -DATABASE_PATH=/root/.flowise +DATABASE_PATH=/home/node/.flowise # DATABASE_TYPE=postgres # DATABASE_PORT=5432 # DATABASE_HOST="" @@ -23,7 +23,7 @@ DATABASE_PATH=/root/.flowise ############################################################################################################ # SECRETKEY_STORAGE_TYPE=local #(local | aws) -SECRETKEY_PATH=/root/.flowise +SECRETKEY_PATH=/home/node/.flowise # FLOWISE_SECRETKEY_OVERWRITE=myencryptionkey # (if you want to overwrite the secret key) # SECRETKEY_AWS_ACCESS_KEY= # SECRETKEY_AWS_SECRET_KEY= @@ -36,7 +36,7 @@ SECRETKEY_PATH=/root/.flowise ############################################################################################################ # DEBUG=true -LOG_PATH=/root/.flowise/logs +LOG_PATH=/home/node/.flowise/logs # LOG_LEVEL=info #(error | warn | info | verbose | debug) # LOG_SANITIZE_BODY_FIELDS=password,pwd,pass,secret,token,apikey,api_key,accesstoken,access_token,refreshtoken,refresh_token,clientsecret,client_secret,privatekey,private_key,secretkey,secret_key,auth,authorization,credential,credentials # LOG_SANITIZE_HEADER_FIELDS=authorization,x-api-key,x-auth-token,cookie @@ -50,7 +50,7 @@ LOG_PATH=/root/.flowise/logs ############################################################################################################ # STORAGE_TYPE=local (local | s3 | gcs) -BLOB_STORAGE_PATH=/root/.flowise/storage +BLOB_STORAGE_PATH=/home/node/.flowise/storage # S3_STORAGE_BUCKET_NAME=flowise # S3_STORAGE_ACCESS_KEY_ID= # S3_STORAGE_SECRET_ACCESS_KEY= diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index e43283b15..2c61336f3 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.1' services: flowise: - image: flowiseai/flowise:latest + image: flowiseaiyau/test:latest restart: always environment: - PORT=${PORT} @@ -142,5 +142,5 @@ services: retries: 5 start_period: 30s volumes: - - ~/.flowise:/root/.flowise - entrypoint: /bin/sh -c "sleep 3; flowise start" + - ~/.flowise:/home/node/.flowise + entrypoint: /bin/sh -c "sleep 3; pnpm start"