Fix container port
This commit is contained in:
parent
a90434f020
commit
30167bdd8d
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- fiddle:/data
|
- fiddle:/data
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 80:80
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,7 @@ async fn main() -> Result<()> {
|
||||||
)
|
)
|
||||||
.default_service(web::to(not_found))
|
.default_service(web::to(not_found))
|
||||||
})
|
})
|
||||||
.bind(("0.0.0.0", 8080))?
|
.bind(("0.0.0.0", 80))?
|
||||||
.run()
|
.run()
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
|
Reference in a new issue