chore: update env (#1136)
This commit is contained in:
parent
9f16d040b5
commit
e0bc8f814b
|
|
@ -209,7 +209,7 @@ pub fn get_configuration() -> Result<Config, anyhow::Error> {
|
||||||
redis_uri: get_env_var("APPFLOWY_REDIS_URI", "redis://localhost:6379").into(),
|
redis_uri: get_env_var("APPFLOWY_REDIS_URI", "redis://localhost:6379").into(),
|
||||||
redis_worker_count: get_env_var("APPFLOWY_REDIS_WORKERS", "60").parse()?,
|
redis_worker_count: get_env_var("APPFLOWY_REDIS_WORKERS", "60").parse()?,
|
||||||
ai: AISettings {
|
ai: AISettings {
|
||||||
port: get_env_var("APPFLOWY_AI_SERVER_PORT", "5001").parse()?,
|
port: get_env_var("AI_SERVER_PORT", "5001").parse()?,
|
||||||
host: get_env_var("AI_SERVER_HOST", "localhost"),
|
host: get_env_var("AI_SERVER_HOST", "localhost"),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue