From d4d1d417688d32fa4892815cdaef92407c2df1e6 Mon Sep 17 00:00:00 2001 From: JeremJR Date: Thu, 7 Sep 2017 14:33:14 +0200 Subject: [PATCH] add DB_DROP_EXISTING and BIZ_DB_DROP_EXISTING environment variables --- bonita/content.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bonita/content.md b/bonita/content.md index a13c75085..ad1266ef1 100644 --- a/bonita/content.md +++ b/bonita/content.md @@ -339,6 +339,14 @@ These variables are optional, and used in conjunction to create users and databa `DB_ADMIN_PASS` if no value is provided, this is automatically set using the value from the linked container: `MYSQL_ENV_MYSQL_ROOT_PASSWORD` or `POSTGRES_ENV_POSTGRES_PASSWORD`. +### `DB_DROP_EXISTING`, `BIZ_DB_DROP_EXISTING` + +`DB_DROP_EXISTING` and `BIZ_DB_DROP_EXISTING` can be used to drop existing databases in order to reuse an existing database instance. + +`DB_DROP_EXISTING` default value is `N`. + +`BIZ_DB_DROP_EXISTING` default value is `N`. + # How to extend this image If you would like to do additional initialization, you can add a `*.sh` script under `/opt/custom-init.d`. The `startup.sh` file will source any `*.sh` script found in this directory to do further initialization before starting the service.