Fixing imports
All checks were successful
Anatid Blog CI Workflow / test (./backend) (push) Successful in 27s
Anatid Blog CI Workflow / test (./frontend) (push) Successful in 31s
Anatid Blog CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/anatid-blog-backend, ./backend) (push) Successful in 50s
Anatid Blog CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/anatid-blog-frontend, ./frontend) (push) Successful in 45s
Anatid Blog CI Workflow / deploy (push) Successful in 23s

This commit is contained in:
Phill Pover 2025-03-28 09:11:12 +00:00
parent 7c55a49741
commit 4a4390f01e
3 changed files with 7 additions and 6 deletions

View File

@ -1,10 +1,11 @@
export default () => ({ export default () => ({
port: parseInt(process.env.BLOG_PORT, 10) || 3000, port: parseInt(process.env.BLOG_PORT!, 10) || 3000,
database: { database: {
host: process.env.POSTGRES_HOST, host: process.env.POSTGRES_HOST,
port: parseInt(process.env.POSTGRES_PORT, 10) || 5432, port: parseInt(process.env.POSTGRES_PORT!, 10) || 5432,
name: process.env.BLOG_DB_NAME, name: process.env.BLOG_DB_NAME,
user: process.env.BLOG_DB_USER, user: process.env.BLOG_DB_USER,
password: process.env.BLOG_DB_PASSWORD, password: process.env.BLOG_DB_PASSWORD
}, }
}); });

View File

@ -1,7 +1,7 @@
import { Module } from '@nestjs/common'; import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm'; import { TypeOrmModule } from '@nestjs/typeorm';
import { ConfigModule, ConfigService } from '@nestjs/config'; import { ConfigModule, ConfigService } from '@nestjs/config';
import configuration from './config/configuration'; import configuration from '../config/configuration';
@Module({ @Module({
imports: [ imports: [

View File

@ -7,4 +7,4 @@ async function bootstrap() {
await app.listen(process.env.PORT ?? 3000); await app.listen(process.env.PORT ?? 3000);
} }
await bootstrap(); bootstrap();