Skip to content

Commit

Permalink
Merge pull request #1418 from DependencyTrack/update-config-docs
Browse files Browse the repository at this point in the history
Update config docs
  • Loading branch information
nscuro authored Jul 26, 2024
2 parents 96af03d + 07c2a4a commit 318fd62
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/reference/configuration/api-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,34 @@ Defines whether database migrations should be executed on startup.
</table>


---

### 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`.

<table>
<tbody style="border: 0">
<tr>
<th style="text-align: right">Required</th>
<td style="border-width: 0">false</td>
</tr>
<tr>
<th style="text-align: right">Type</th>
<td style="border-width: 0"><code>boolean</code></td>
</tr>
<tr>
<th style="text-align: right">Default</th>
<td style="border-width: 0"><code>false</code></td>
</tr>
<tr>
<th style="text-align: right">ENV</th>
<td style="border-width: 0"><code>DATABASE_RUN_MIGRATIONS_ONLY</code></td>
</tr>
</tbody>
</table>




## Development
Expand Down

0 comments on commit 318fd62

Please sign in to comment.