Skip to content

Commit 8c8e8dd

Browse files
Steve ManuelTurbo87
authored andcommitted
dev: update docker node version, server address, and docker-compose
1 parent deff144 commit 8c8e8dd

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ services:
2020
GIT_REPO_URL: file://./tmp/index-bare
2121
GH_CLIENT_ID: ""
2222
GH_CLIENT_SECRET: ""
23+
WEB_ALLOWED_ORIGINS: http://localhost:8888,http://localhost:4200
2324
links:
2425
- postgres
2526
ports:

frontend.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:12.9-alpine
1+
FROM node:14.9-alpine
22

33
WORKDIR /app
44
COPY package.json yarn.lock /app/

src/bin/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
103103
async move { Service::from_blocking(handler, addr) }
104104
});
105105

106-
let addr = ([127, 0, 0, 1], port).into();
106+
let addr = ([0, 0, 0, 0], port).into();
107107
#[allow(clippy::async_yields_async)]
108108
let server = rt.block_on(async { hyper::Server::bind(&addr).serve(make_service) });
109109

0 commit comments

Comments
 (0)