mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 15:00:57 +03:00
add env variables
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
PORT=3000
|
||||
# FLOWISE_USERNAME=user
|
||||
# FLOWISE_PASSWORD=1234
|
||||
# DEBUG=true
|
||||
# DATABASE_PATH=/your_database_path/.flowise
|
||||
# EXECUTION_MODE=child or main
|
||||
@@ -29,6 +29,10 @@ FLOWISE_USERNAME=user
|
||||
FLOWISE_PASSWORD=1234
|
||||
```
|
||||
|
||||
## 🔎 Debugging
|
||||
|
||||
You can set `DEBUG=true` to the `.env` file. Refer [here](https://docs.flowiseai.com/environment-variables) for full list of env variables
|
||||
|
||||
## 📖 Documentation
|
||||
|
||||
[Flowise Docs](https://docs.flowiseai.com/)
|
||||
|
||||
@@ -18,6 +18,7 @@ export default class Start extends Command {
|
||||
FLOWISE_USERNAME: Flags.string(),
|
||||
FLOWISE_PASSWORD: Flags.string(),
|
||||
PORT: Flags.string(),
|
||||
DEBUG: Flags.string(),
|
||||
DATABASE_PATH: Flags.string(),
|
||||
EXECUTION_MODE: Flags.string()
|
||||
}
|
||||
@@ -56,6 +57,7 @@ export default class Start extends Command {
|
||||
if (flags.PORT) process.env.PORT = flags.PORT
|
||||
if (flags.DATABASE_PATH) process.env.DATABASE_PATH = flags.DATABASE_PATH
|
||||
if (flags.EXECUTION_MODE) process.env.EXECUTION_MODE = flags.EXECUTION_MODE
|
||||
if (flags.DEBUG) process.env.DEBUG = flags.DEBUG
|
||||
|
||||
await (async () => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user