update Readme
This commit is contained in:
parent
6d2dae1a81
commit
0665dcef55
|
|
@ -133,6 +133,7 @@ Flowise support different environment variables to configure your instance. You
|
||||||
| Variable | Description | Type | Default |
|
| Variable | Description | Type | Default |
|
||||||
| ---------------- | ---------------------------------------------------------------------------- | ------------------------------------------------ | ----------------------------------- |
|
| ---------------- | ---------------------------------------------------------------------------- | ------------------------------------------------ | ----------------------------------- |
|
||||||
| PORT | The HTTP port Flowise runs on | Number | 3000 |
|
| PORT | The HTTP port Flowise runs on | Number | 3000 |
|
||||||
|
| PASSPHRASE | Passphrase used to create encryption key | String | `MYPASSPHRASE` |
|
||||||
| FLOWISE_USERNAME | Username to login | String |
|
| FLOWISE_USERNAME | Username to login | String |
|
||||||
| FLOWISE_PASSWORD | Password to login | String |
|
| FLOWISE_PASSWORD | Password to login | String |
|
||||||
| DEBUG | Print logs from components | Boolean |
|
| DEBUG | Print logs from components | Boolean |
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
PORT=3000
|
PORT=3000
|
||||||
|
PASSPHRASE=MYPASSPHRASE # Passphrase used to create encryption key
|
||||||
# FLOWISE_USERNAME=user
|
# FLOWISE_USERNAME=user
|
||||||
# FLOWISE_PASSWORD=1234
|
# FLOWISE_PASSWORD=1234
|
||||||
# DEBUG=true
|
# DEBUG=true
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- PORT=${PORT}
|
- PORT=${PORT}
|
||||||
|
- PASSPHRASE=${PASSPHRASE}
|
||||||
- FLOWISE_USERNAME=${FLOWISE_USERNAME}
|
- FLOWISE_USERNAME=${FLOWISE_USERNAME}
|
||||||
- FLOWISE_PASSWORD=${FLOWISE_PASSWORD}
|
- FLOWISE_PASSWORD=${FLOWISE_PASSWORD}
|
||||||
- DATABASE_PATH=${DATABASE_PATH}
|
- DATABASE_PATH=${DATABASE_PATH}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
PORT=3000
|
PORT=3000
|
||||||
|
PASSPHRASE=MYPASSPHRASE # Passphrase used to create encryption key
|
||||||
# FLOWISE_USERNAME=user
|
# FLOWISE_USERNAME=user
|
||||||
# FLOWISE_PASSWORD=1234
|
# FLOWISE_PASSWORD=1234
|
||||||
# DEBUG=true
|
# DEBUG=true
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,7 @@ Flowise support different environment variables to configure your instance. You
|
||||||
| Variable | Description | Type | Default |
|
| Variable | Description | Type | Default |
|
||||||
| ---------------- | ---------------------------------------------------------------------------- | ------------------------------------------------ | ----------------------------------- |
|
| ---------------- | ---------------------------------------------------------------------------- | ------------------------------------------------ | ----------------------------------- |
|
||||||
| PORT | The HTTP port Flowise runs on | Number | 3000 |
|
| PORT | The HTTP port Flowise runs on | Number | 3000 |
|
||||||
|
| PASSPHRASE | Passphrase used to create encryption key | String | `MYPASSPHRASE` |
|
||||||
| FLOWISE_USERNAME | Username to login | String |
|
| FLOWISE_USERNAME | Username to login | String |
|
||||||
| FLOWISE_PASSWORD | Password to login | String |
|
| FLOWISE_PASSWORD | Password to login | String |
|
||||||
| DEBUG | Print logs from components | Boolean |
|
| DEBUG | Print logs from components | Boolean |
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ export default class Start extends Command {
|
||||||
FLOWISE_USERNAME: Flags.string(),
|
FLOWISE_USERNAME: Flags.string(),
|
||||||
FLOWISE_PASSWORD: Flags.string(),
|
FLOWISE_PASSWORD: Flags.string(),
|
||||||
PORT: Flags.string(),
|
PORT: Flags.string(),
|
||||||
|
PASSPHRASE: Flags.string(),
|
||||||
DEBUG: Flags.string(),
|
DEBUG: Flags.string(),
|
||||||
DATABASE_PATH: Flags.string(),
|
DATABASE_PATH: Flags.string(),
|
||||||
APIKEY_PATH: Flags.string(),
|
APIKEY_PATH: Flags.string(),
|
||||||
|
|
@ -60,6 +61,7 @@ export default class Start extends Command {
|
||||||
if (flags.FLOWISE_USERNAME) process.env.FLOWISE_USERNAME = flags.FLOWISE_USERNAME
|
if (flags.FLOWISE_USERNAME) process.env.FLOWISE_USERNAME = flags.FLOWISE_USERNAME
|
||||||
if (flags.FLOWISE_PASSWORD) process.env.FLOWISE_PASSWORD = flags.FLOWISE_PASSWORD
|
if (flags.FLOWISE_PASSWORD) process.env.FLOWISE_PASSWORD = flags.FLOWISE_PASSWORD
|
||||||
if (flags.PORT) process.env.PORT = flags.PORT
|
if (flags.PORT) process.env.PORT = flags.PORT
|
||||||
|
if (flags.PASSPHRASE) process.env.PASSPHRASE = flags.PASSPHRASE
|
||||||
if (flags.DATABASE_PATH) process.env.DATABASE_PATH = flags.DATABASE_PATH
|
if (flags.DATABASE_PATH) process.env.DATABASE_PATH = flags.DATABASE_PATH
|
||||||
if (flags.APIKEY_PATH) process.env.APIKEY_PATH = flags.APIKEY_PATH
|
if (flags.APIKEY_PATH) process.env.APIKEY_PATH = flags.APIKEY_PATH
|
||||||
if (flags.SECRETKEY_PATH) process.env.SECRETKEY_PATH = flags.SECRETKEY_PATH
|
if (flags.SECRETKEY_PATH) process.env.SECRETKEY_PATH = flags.SECRETKEY_PATH
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue