Skip to content
This repository was archived by the owner on May 18, 2023. It is now read-only.

Commit 28e80bc

Browse files
committed
fix(server): assign topgg server to port 8097
1 parent 7a55632 commit 28e80bc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
FROM node:latest
2-
EXPOSE 80
32
WORKDIR /app
43
ADD package.json .
54
ADD yarn.lock .

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ services:
3333
REDIS_URL: redis://redis
3434
DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres
3535
command: yarn prod
36+
ports:
37+
- "8097:8097"
3638

3739
volumes:
3840
redis_data:

src/services/util/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ export class VotesServer extends AbstractAppService {
2929
})
3030
);
3131

32-
this.app.listen(process.env.SERVER_PORT || 80);
32+
this.app.listen(process.env.SERVER_PORT || 8097);
3333
}
3434
}

0 commit comments

Comments
 (0)