Skip to content

Commit

Permalink
chat ui template vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Evanfeenstra committed Oct 18, 2024
1 parent 24045a0 commit 04b25bc
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions src/images/chat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,18 @@ fn chat(node: &ChatImage, mongo: &MongoImage) -> Config<String> {
let root_vol = &repo.root_volume;
let ports = vec![node.http_port.clone()];

let env = vec![format!(
"MONGODB_URL=mongodb://{}:{}",
domain(&mongo.name),
mongo.http_port
)];
let env = vec![
format!(
"MONGODB_URL=mongodb://{}:{}",
domain(&mongo.name),
mongo.http_port
),
format!("PUBLIC_APP_NAME=SphinxChat"),
format!("PUBLIC_APP_ASSETS=chatui"),
format!("PUBLIC_APP_COLOR=indigo"),
format!("PUBLIC_APP_DESCRIPTION=\"Your knowledge companion.\""),
];

// let env = vec![format!(
// "MONGODB_URL=mongodb://{}:{}@{}:{}",
// mongo.user,
Expand Down

0 comments on commit 04b25bc

Please sign in to comment.