We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 630dc72 commit 0a5264bCopy full SHA for 0a5264b
apps/api/docker-compose.yml
@@ -7,7 +7,7 @@ services:
7
context: .
8
dockerfile: Dockerfile
9
ports:
10
- - '127.0.0.1:${SERVER_PORT}:3000'
+ - '127.0.0.1:${SERVER_PORT}:${SERVER_PORT}'
11
depends_on:
12
- transcript-summarizer-mariadb
13
- transcript-summarizer-redis
apps/api/src/main.ts
@@ -47,7 +47,7 @@ async function bootstrap(): Promise<void> {
47
app.useGlobalFilters(new HttpExceptionFilter(new JsendFormatter()));
48
// TODO: Update origin as needed
49
app.enableCors({ origin: '*', credentials: true });
50
- await app.listen(3000);
+ await app.listen(configService.getOrThrow('SERVER_PORT'));
51
}
52
53
bootstrap();
0 commit comments