todo - etcd address, message and so on.... #316
youngtaekiim
started this conversation in
General
Replies: 3 comments 4 replies
-
|
여기도 수정 필요. info!("Initializing DDS Manager");
let default_domain_id = 0;
let settings_path = settings_path.into().unwrap_or_else(|| {
env::var("PICCOLO_SETTINGS_PATH")
.map(PathBuf::from)
.unwrap_or_else(|_| {
PathBuf::from("/home/edo/2025/projects/pullpiri/src/settings.yaml")
})
});
info!("Reading settings from {:?}", settings_path);
let content = fs::read_to_string(&settings_path)?;
// JSON 또는 YAML 파싱
let settings = serde_json::from_str::<serde_json::Value>(&content)?;
let domain_id = settings
.get("dds")
.and_then(|dds| dds.get("domain_id"))
.and_then(|id| id.as_i64())
.map(|id| id as i32)
.unwrap_or(default_domain_id);
info!("Domain ID from settings: {}", domain_id);
WORKDIR /piccolo
중략.....
# Copy runtime settings
COPY ./src/settings.yaml . |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@youngtaekiim |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
hotfix-nodeinfo branch에 수정사항 올렸어요. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@leeeunkoo
containers/piccolo-player.yamlandcontainers/piccolo-server.yamlchange to
containers/piccolo-server.yaml/doc/scripts/install_nodeagent.shandsrc/settings.yamlchange IP address
Beta Was this translation helpful? Give feedback.
All reactions