feat(server): env variable to skip migrations on startup (#9069)

* env variable to skip migrations

* update docs

* update env doc
This commit is contained in:
Mert
2024-04-24 22:52:38 -04:00
committed by GitHub
parent f0f9053115
commit 466451abc9
6 changed files with 29 additions and 16 deletions

View File

@@ -28,6 +28,7 @@ export const immichAppConfig: ConfigModuleOptions = {
DB_DATABASE_NAME: WHEN_DB_URL_SET,
DB_URL: Joi.string().optional(),
DB_VECTOR_EXTENSION: Joi.string().optional().valid('pgvector', 'pgvecto.rs').default('pgvecto.rs'),
DB_SKIP_MIGRATIONS: Joi.boolean().optional().default(false),
MACHINE_LEARNING_PORT: Joi.number().optional(),
MICROSERVICES_PORT: Joi.number().optional(),