CHanged listning host to 0.0.0.0
This commit is contained in:
parent
0cb22fb210
commit
92749fcfa2
|
@ -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"]
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue