mirror of
https://github.com/n08i40k/schedule-parser-next.git
synced 2025-12-06 17:57:45 +03:00
Сборка Docker image
This commit is contained in:
@@ -27,11 +27,6 @@ export const jwtConstants = {
|
||||
secret: process.env.JWT_SECRET,
|
||||
};
|
||||
|
||||
export const httpsConstants = {
|
||||
certPath: process.env.CERT_PEM_PATH,
|
||||
keyPath: process.env.KEY_PEM_PATH,
|
||||
};
|
||||
|
||||
export const apiConstants = {
|
||||
port: +(process.env.API_PORT ?? 5050),
|
||||
version: process.env.SERVER_VERSION,
|
||||
|
||||
@@ -42,14 +42,14 @@ async function bootstrap() {
|
||||
});
|
||||
|
||||
swaggerDocument.servers = [
|
||||
{
|
||||
url: "https://polytechnic-dev.n08i40k.ru",
|
||||
description: "Сервер для разработки и тестирования",
|
||||
},
|
||||
{
|
||||
url: "https://polytechnic.n08i40k.ru",
|
||||
description: "Сервер для продакшн окружения",
|
||||
},
|
||||
{
|
||||
url: "https://polytechnic-dev.n08i40k.ru",
|
||||
description: "Сервер для разработки и тестирования",
|
||||
},
|
||||
];
|
||||
|
||||
SwaggerModule.setup("api-docs", app, swaggerDocument, {});
|
||||
|
||||
Reference in New Issue
Block a user