Merge pull request #405 from FlowiseAI/feature/debugVerbose
Feature/Update ENV Variables
This commit is contained in:
commit
554c0a900d
|
|
@ -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
|
||||
|
|
@ -10,6 +10,7 @@ services:
|
|||
- FLOWISE_PASSWORD=${FLOWISE_PASSWORD}
|
||||
- DATABASE_PATH=${DATABASE_PATH}
|
||||
- EXECUTION_MODE=${EXECUTION_MODE}
|
||||
- DEBUG=${DEBUG}
|
||||
ports:
|
||||
- '${PORT}:${PORT}'
|
||||
volumes:
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
DEBUG=true
|
||||
|
|
@ -12,14 +12,6 @@ Install:
|
|||
npm i flowise-components
|
||||
```
|
||||
|
||||
## Debug
|
||||
|
||||
To view all the logs, create an `.env` file and add:
|
||||
|
||||
```
|
||||
DEBUG=true
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Source code in this repository is made available under the [MIT License](https://github.com/FlowiseAI/Flowise/blob/master/LICENSE.md).
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue