Сборка Docker image

This commit is contained in:
2025-03-02 17:22:48 +04:00
parent 6734bb1321
commit a70d2f442d
8 changed files with 13197 additions and 16 deletions

View File

@@ -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,

View File

@@ -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, {});