fix(actix): fiex so service runs on correct port
Some checks failed
Cloud Actions / Dockerhub (push) Failing after 23s
Some checks failed
Cloud Actions / Dockerhub (push) Failing after 23s
This commit is contained in:
parent
a6566781cb
commit
6825dba9d0
5
.github/workflows/Actions.yml
vendored
5
.github/workflows/Actions.yml
vendored
@ -24,11 +24,6 @@ jobs:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Verify Docker is available
|
||||
run: |
|
||||
docker info
|
||||
docker version
|
||||
|
||||
- name: Login to Dockerhub # log into docker hub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
|
@ -6,7 +6,7 @@ use darkicewolf50_cloud::{get_blog, get_blogs_preview, hello, project, skills_ho
|
||||
|
||||
#[actix_web::main]
|
||||
async fn main() -> std::io::Result<()> {
|
||||
println!("Running on port 8000");
|
||||
println!("Running on port 5050");
|
||||
HttpServer::new(|| {
|
||||
App::new()
|
||||
.wrap(
|
||||
@ -31,7 +31,7 @@ async fn main() -> std::io::Result<()> {
|
||||
)
|
||||
.service(web::scope("/home").service(skills_home))
|
||||
})
|
||||
.bind(("127.0.0.1", 8000))?
|
||||
.bind(("0.0.0.0", 5050))?
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user