feat: add botfights app config and update container registry
- Add git.tx1138.com to trusted registries (replaces old 80.71.235.15) - Add botfights app config: port 9100, data volume, JWT_SECRET auto-gen, fight loop Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a3217a9db4
commit
548107eb8b
@ -867,6 +867,21 @@ pub(super) async fn get_app_config(
|
|||||||
None,
|
None,
|
||||||
None,
|
None,
|
||||||
),
|
),
|
||||||
|
"botfights" => {
|
||||||
|
let jwt_secret = read_or_generate_secret("botfights-jwt").await;
|
||||||
|
(
|
||||||
|
vec!["9100:9100".to_string()],
|
||||||
|
vec!["/var/lib/archipelago/botfights:/app/server/data".to_string()],
|
||||||
|
vec![
|
||||||
|
"NODE_ENV=production".to_string(),
|
||||||
|
"PORT=9100".to_string(),
|
||||||
|
format!("JWT_SECRET={}", jwt_secret),
|
||||||
|
"FIGHT_LOOP_ENABLED=true".to_string(),
|
||||||
|
],
|
||||||
|
None,
|
||||||
|
None,
|
||||||
|
)
|
||||||
|
}
|
||||||
_ => (vec![], vec![], vec![], None, None),
|
_ => (vec![], vec![], vec![], None, None),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user