mirror of
https://github.com/Art051/immich.git
synced 2025-08-11 19:29:00 +00:00
* New features - Share album. Users can now create albums to share with existing people on the network. - Owner can delete the album. - Owner can invite the additional users to the album. - Shared users and the owner can add additional assets to the album. * In the asset viewer, the user can swipe up to see detailed information and swip down to dismiss. * Several UI enhancements.
18 lines
501 B
TypeScript
18 lines
501 B
TypeScript
import { TypeOrmModuleOptions } from '@nestjs/typeorm';
|
|
|
|
export const databaseConfig: TypeOrmModuleOptions = {
|
|
type: 'postgres',
|
|
host: 'immich_postgres',
|
|
port: 5432,
|
|
username: process.env.DB_USERNAME,
|
|
password: process.env.DB_PASSWORD,
|
|
database: process.env.DB_DATABASE_NAME,
|
|
entities: [__dirname + '/../**/*.entity.{js,ts}'],
|
|
synchronize: false,
|
|
migrations: [__dirname + '/../migration/*.js'],
|
|
cli: {
|
|
migrationsDir: __dirname + '/../migration',
|
|
},
|
|
migrationsRun: true,
|
|
};
|