refactor!: port env (#9559)

refactor: port env
This commit is contained in:
Jason Rasmussen 2024-05-17 12:59:05 -04:00 committed by GitHub
parent c03981ac1d
commit d61418886f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 13 additions and 20 deletions

View file

@ -18,7 +18,7 @@ const host = process.env.HOST;
async function bootstrap() {
otelSDK.start();
const port = Number(process.env.SERVER_PORT) || 3001;
const port = Number(process.env.IMMICH_PORT) || 3001;
const app = await NestFactory.create<NestExpressApplication>(ApiModule, { bufferLogs: true });
const logger = await app.resolve(ILoggerRepository);