diff --git a/docs/reference/configuration/api-server.md b/docs/reference/configuration/api-server.md index 0549feb9a..92bf5738c 100644 --- a/docs/reference/configuration/api-server.md +++ b/docs/reference/configuration/api-server.md @@ -766,6 +766,34 @@ Defines whether database migrations should be executed on startup. +--- + +### database.run.migrations.only + +Defines whether the application should exit upon successful execution of database migrations. Enabling this option makes the application suitable for running as k8s init container. Has no effect unless [`database.run.migrations`](#databaserunmigrations) is `true`. + + + + + + + + + + + + + + + + + + + + +
Requiredfalse
Typeboolean
Defaultfalse
ENVDATABASE_RUN_MIGRATIONS_ONLY
+ + ## Development