tsk-42: Dockerize the service (#44)
All checks were successful
Rust Build / Check (push) Successful in -9s
Rust Build / Rustfmt (push) Successful in -12s
Rust Build / Test Suite (push) Successful in 37s
Rust Build / Clippy (push) Successful in -8s
Rust Build / build (push) Successful in 41s

Closes #42

Reviewed-on: #44
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
2025-08-16 23:12:05 +00:00
committed by phoenix
parent f748d93b3f
commit bd01dac544
7 changed files with 101 additions and 7 deletions

View File

@@ -16,6 +16,9 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
auth_uri: icarus_envy::environment::get_icarus_auth_base_api_url().await,
..Default::default()
};
println!("Base URL: {:?}", app.uri);
println!("Auth URL: {:?}", app.auth_uri);
match auth::get_token(&app).await {
Ok(login_result) => {
app.token = login_result;
@@ -27,8 +30,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
};
loop {
println!("Base URL: {:?}", app.uri);
println!("Auth URL: {:?}", app.auth_uri);
println!("Token: {:?}", app.token);
if auth::did_token_expire(&app.token).await {