-
-
Notifications
You must be signed in to change notification settings - Fork 23.3k
Standardize to single non-root Dockerfile #5506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
aa48999
d5bc57a
4267ebe
a8338de
73ff92c
7aae408
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,17 +13,15 @@ services: | |
| restart: always | ||
|
|
||
| flowise: | ||
| image: flowiseai/flowise:latest | ||
| image: flowiseaiyau/test:0.0.2 | ||
| container_name: flowise-main | ||
| restart: always | ||
| ports: | ||
| - '${PORT:-3000}:${PORT:-3000}' | ||
| volumes: | ||
| - ~/.flowise:/root/.flowise | ||
| environment: | ||
| # --- Essential Flowise Vars --- | ||
| - PORT=${PORT:-3000} | ||
| - DATABASE_PATH=${DATABASE_PATH:-/root/.flowise} | ||
| - DATABASE_PATH=${DATABASE_PATH} | ||
| - DATABASE_TYPE=${DATABASE_TYPE} | ||
| - DATABASE_PORT=${DATABASE_PORT} | ||
| - DATABASE_HOST=${DATABASE_HOST} | ||
|
|
@@ -154,22 +152,22 @@ services: | |
| timeout: 5s | ||
| retries: 5 | ||
| start_period: 30s | ||
| entrypoint: /bin/sh -c "sleep 3; flowise start" | ||
| volumes: | ||
| - flowise_data:/home/node/.flowise | ||
| entrypoint: /bin/sh -c "sleep 3; pnpm start" | ||
| depends_on: | ||
| - redis | ||
| networks: | ||
| - flowise-net | ||
|
|
||
| flowise-worker: | ||
| image: flowiseai/flowise-worker:latest | ||
| image: flowiseaiyau/test:0.0.2 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remember to change this back to |
||
| container_name: flowise-worker | ||
| restart: always | ||
| volumes: | ||
| - ~/.flowise:/root/.flowise | ||
| environment: | ||
| # --- Essential Flowise Vars --- | ||
| - WORKER_PORT=${WORKER_PORT:-5566} | ||
| - DATABASE_PATH=${DATABASE_PATH:-/root/.flowise} | ||
| - DATABASE_PATH=${DATABASE_PATH} | ||
| - DATABASE_TYPE=${DATABASE_TYPE} | ||
| - DATABASE_PORT=${DATABASE_PORT} | ||
| - DATABASE_HOST=${DATABASE_HOST} | ||
|
|
@@ -300,6 +298,8 @@ services: | |
| timeout: 5s | ||
| retries: 5 | ||
| start_period: 30s | ||
| volumes: | ||
| - flowise_data:/home/node/.flowise | ||
| entrypoint: /bin/sh -c "node /app/healthcheck/healthcheck.js & sleep 5 && pnpm run start-worker" | ||
| depends_on: | ||
| - redis | ||
|
|
@@ -310,6 +310,7 @@ services: | |
| volumes: | ||
| redis_data: | ||
| driver: local | ||
| flowise_data: | ||
|
|
||
| networks: | ||
| flowise-net: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ version: '3.1' | |
|
|
||
| services: | ||
| flowise: | ||
| image: flowiseai/flowise:latest | ||
| image: flowiseaiyau/test:0.0.2 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remember to change this back to |
||
| restart: always | ||
| environment: | ||
| - PORT=${PORT} | ||
|
|
@@ -142,5 +142,8 @@ services: | |
| retries: 5 | ||
| start_period: 30s | ||
| volumes: | ||
| - ~/.flowise:/root/.flowise | ||
| entrypoint: /bin/sh -c "sleep 3; flowise start" | ||
| - flowise_data:/home/node/.flowise | ||
| entrypoint: /bin/sh -c "sleep 3; pnpm start" | ||
|
|
||
| volumes: | ||
| flowise_data: | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember to change this back to
flowiseai/flowise:latest.