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:
Dorian
2026-04-11 19:45:58 +01:00
parent a3217a9db4
commit 548107eb8b

View File

@@ -867,6 +867,21 @@ pub(super) async fn get_app_config(
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),
}
}