build
All checks were successful
Build & Deploy KLZ Cables / build-and-deploy (push) Successful in 4m14s

This commit is contained in:
2026-01-28 19:41:01 +01:00
parent 21b16a5e6c
commit a85fe64ccb
5 changed files with 3 additions and 11 deletions

View File

@@ -174,7 +174,9 @@ Modified:
├── Dockerfile (removed redundant build args)
├── docker-compose.yml (use env_file instead of individual vars)
├── .gitea/workflows/deploy.yml (automated .env creation & upload)
── .env.example (clear documentation)
── .env.example (clear documentation)
├── lib/services/create-services.ts (removed redundant dotenv usage)
└── scripts/migrate-*.ts (removed redundant dotenv usage)
Created:
├── .env.production (reference template)

View File

@@ -6,13 +6,6 @@ import { NoopErrorReportingService } from './errors/noop-error-reporting-service
import { NoopLoggerService } from './logging/noop-logger-service';
import { PinoLoggerService } from './logging/pino-logger-service';
import { config, getMaskedConfig } from '../config';
import dotenv from 'dotenv';
import path from 'path';
// Load .env file in development
if (typeof window === 'undefined' && process.env.NODE_ENV !== 'production') {
dotenv.config({ path: path.resolve(process.cwd(), '.env') });
}
/**
* Singleton instance of AppServices.

View File

@@ -1,4 +1,3 @@
import 'dotenv/config';
import axios from 'axios';
import * as fs from 'fs';
import * as path from 'path';

View File

@@ -1,4 +1,3 @@
import 'dotenv/config';
import axios from 'axios';
import * as fs from 'fs';
import * as path from 'path';

View File

@@ -1,4 +1,3 @@
import 'dotenv/config';
import axios from 'axios';
import * as fs from 'fs';
import * as path from 'path';