CHanged listning host to 0.0.0.0

This commit is contained in:
Joe Bellus 2022-02-11 10:31:24 -05:00
parent 0cb22fb210
commit 92749fcfa2
2 changed files with 1 additions and 2 deletions

View File

@ -3,5 +3,4 @@ COPY target/x86_64-unknown-linux-musl/release/vade /app/vade
EXPOSE 8080 EXPOSE 8080
WORKDIR app WORKDIR app
RUN touch data.db RUN touch data.db
RUN ls -lh
CMD ["./vade"] CMD ["./vade"]

View File

@ -41,7 +41,7 @@ async fn main() {
.service(api::routes()) .service(api::routes())
.service(dist) .service(dist)
}) })
.bind("127.0.0.1:8080") .bind("0.0.0.0:8080")
.unwrap() .unwrap()
.run() .run()
.await .await