Skip to content

Commit

Permalink
Delete default neo4j env-variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jonx8 committed Nov 14, 2024
1 parent e21f7af commit 18a9803
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions server/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ import { Neo4jConfig } from './modules/neo4j/neo4j-config.interface';
imports: [ConfigModule],
inject: [ConfigService],
useFactory: (configService: ConfigService): Neo4jConfig => ({
scheme: configService.get('NEO4J_SCHEME') ?? "neo4j",
host: configService.get('NEO4J_HOST') ?? "localhost",
port: configService.get('NEO4J_PORT') ?? 7687,
username: configService.get('NEO4J_USERNAME') ?? "neo4j",
password: configService.get('NEO4J_PASSWORD') ?? "password",
database: configService.get('NEO4J_DB') ?? "neo4j",
scheme: configService.get('NEO4J_SCHEME'),
host: configService.get('NEO4J_HOST'),
port: configService.get('NEO4J_PORT'),
username: configService.get('NEO4J_USERNAME'),
password: configService.get('NEO4J_PASSWORD'),
database: configService.get('NEO4J_DB'),
}),
}),
],
Expand Down

0 comments on commit 18a9803

Please sign in to comment.