1diff --git a/src/bin/actix.rs b/src/bin/actix.rs
2index dd03ecea2991a37f05fa83202b0ca81f579a6ffb..c2f81fe8ad66d180d8a465ce05a53a92465f4b5a 100644
3--- a/src/bin/actix.rs
4+++ b/src/bin/actix.rs
5@@ -23,12 +23,13 @@
6
7 #[actix_web::main]
8 async fn main() -> std::io::Result<()> {
9+ let port = env::var("PORT").unwrap_or("3000".into()).parse::<u16>().unwrap_or(3000);
10 HttpServer::new(|| {
11 App::new()
12 .service(index)
13 .service(posts)
14 })
15- .bind(("0.0.0.0", 3000))?
16+ .bind(("0.0.0.0", port))?
17 .run()
18 .await
19 }