mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
Add e2e testing setup (#163)
* Setup e2e testing * Add user e2e tests * Rename database host env variable to DB_HOST * Force push (try to recover DB_HOST env) * Rename db host env variable to `DB_HOSTNAME` * Remove unnecessary `initDb` from test-utils The current database.config is running the migrations: `migrationsRun: true`
This commit is contained in:
parent
4900fecd10
commit
79dea504b0
8 changed files with 208 additions and 30 deletions
|
|
@ -2,7 +2,7 @@ import { TypeOrmModuleOptions } from '@nestjs/typeorm';
|
|||
|
||||
export const databaseConfig: TypeOrmModuleOptions = {
|
||||
type: 'postgres',
|
||||
host: 'immich_postgres',
|
||||
host: process.env.DB_HOSTNAME || 'immich_postgres',
|
||||
port: 5432,
|
||||
username: process.env.DB_USERNAME,
|
||||
password: process.env.DB_PASSWORD,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue