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
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:
parent
7c55a49741
commit
4a4390f01e
@ -1,10 +1,11 @@
|
||||
|
||||
export default () => ({
|
||||
port: parseInt(process.env.BLOG_PORT, 10) || 3000,
|
||||
port: parseInt(process.env.BLOG_PORT!, 10) || 3000,
|
||||
database: {
|
||||
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,
|
||||
user: process.env.BLOG_DB_USER,
|
||||
password: process.env.BLOG_DB_PASSWORD,
|
||||
},
|
||||
password: process.env.BLOG_DB_PASSWORD
|
||||
}
|
||||
});
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { ConfigModule, ConfigService } from '@nestjs/config';
|
||||
import configuration from './config/configuration';
|
||||
import configuration from '../config/configuration';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
|
@ -7,4 +7,4 @@ async function bootstrap() {
|
||||
await app.listen(process.env.PORT ?? 3000);
|
||||
}
|
||||
|
||||
await bootstrap();
|
||||
bootstrap();
|
||||
|
Loading…
x
Reference in New Issue
Block a user