Skip to content

Commit d71822e

Browse files
committed
fix(formatting): fix markdown + latest links to doc
1 parent 57f62b7 commit d71822e

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

bonita/content.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -93,22 +93,22 @@ It can be a good practice to mount the following folders into volumes
9393

9494
When you start the bonita image, you can adjust the configuration of the Bonita instance by passing one or more environment variables on the docker run command line.
9595

96-
### PLATFORM_PASSWORD
97-
98-
This environment variable is recommended for you to use the Bonita image. It sets the platform administrator password for Bonita. If it is not specified, the default password `platform` will be used.
99-
10096
### PLATFORM_LOGIN
10197

10298
This optional environment variable is used in conjunction with PLATFORM_PASSWORD to define the username for the platform administrator. If it is not specified, the default username `platformAdmin` will be used.
10399

104-
### TENANT_PASSWORD
100+
### PLATFORM_PASSWORD
105101

106-
This environment variable is recommended for you to use the Bonita image. It sets the tenant administrator password for Bonita. If it is not specified, the default password `install` will be used.
102+
This environment variable is recommended for you to use the Bonita image. It sets the platform administrator password for Bonita. If it is not specified, the default password `platform` will be used.
107103

108104
### TENANT_LOGIN
109105

110106
This optional environment variable is used in conjunction with TENANT_PASSWORD to define the username for the tenant administrator. If it is not specified, the default username `install` will be used.
111107

108+
### TENANT_PASSWORD
109+
110+
This environment variable is recommended for you to use the Bonita image. It sets the tenant administrator password for Bonita. If it is not specified, the default password `install` will be used.
111+
112112
### MONITORING_USERNAME
113113

114114
This optional environment variable is used in conjunction with `MONITORING_PASSWORD` to define the access to endpoints protected with [BASIC Auth access](https://en.wikipedia.org/wiki/Basic_access_authentication): it is used for the JMX remote access. If it is not specified, the default monitoring username `monitoring` will be used.
@@ -131,10 +131,10 @@ This optional environment variable is used to configure the HTTP API Basic acces
131131
This optional environment variable is used to enable/disable the access to the https://docs.oracle.com/en/java/javase/11/management/using-jconsole.html[JMX console] from a remote machine. +
132132
Default value is *false*. +
133133
The host to connect to is the name / IP address of the bonita server, the port to connect to is 9000. +
134-
The credentials to connect are the environment variables xref:#MONITORING_USERNAME[MONITORING_USERNAME], xref:#MONITORING_PASSWORD[MONITORING_PASSWORD].
134+
The credentials to connect are the environment variables [MONITORING_USERNAME](#MONITORING_USERNAME), [MONITORING_PASSWORD](#MONITORING_PASSWORD).
135135

136136
### REMOTE_IP_VALVE_ENABLED
137-
This optional environment variable allows to activate/deactivate xref:runtime:reverse-proxy-configuration.adoc[reverse proxy redirection]. Default value is *false*.
137+
This optional environment variable allows to activate/deactivate [reverse proxy redirection](https://documentation.bonitasoft.com/bonita/latest/runtime/reverse-proxy-configuration). Default value is *false*.
138138

139139
### ACCESSLOGS_STDOUT_ENABLED
140140
This optional environment variable allows to activate/deactivate writing Tomcat access logs to standard output. Default value is *false*.
@@ -199,7 +199,7 @@ The logger can be configured by mounting a volume on folder `/opt/bonita/conf/lo
199199
the volume must contain the 2 files
200200
[log4j2-loggers.xml](https://raw.githubusercontent.com/bonitasoft/bonita-distrib/7.14.0/tomcat-resources/tomcat-distrib-for-bonita/src/main/resources/tomcat/server/conf/log4j2-loggers.xml)
201201
and
202-
[log4j2-appenders.xml](https://raw.githubusercontent.com/bonitasoft/bonita-distrib/7.14.0/docker/files/log4j2/log4j2-appenders.xml).
202+
[log4j2-appenders.xml](https://raw.githubusercontent.com/bonitasoft/bonita-distrib/7.14.0/docker/files/log4j2/log4j2-appenders.xml)
203203

204204
Any change made to one of this 2 files is automatically hot-reloaded and taken into account immediately.
205205

@@ -211,7 +211,7 @@ This Docker image activates both static and dynamic authorization checks by defa
211211

212212
- [Static authorization checking](https://documentation.bonitasoft.com/bonita/latest/rest-api-authorization#static_authorization)
213213

214-
- [HTTP API](https://documentation.bonitasoft.com/bonita/2022.1/rest-api-authorization#_activating_and_deactivating_authorization)
214+
- [HTTP API](https://documentation.bonitasoft.com/bonita/latest/rest-api-authorization#_activating_and_deactivating_authorization)
215215

216216
For specific needs you can override this behavior by setting HTTP_API to true:
217217

@@ -295,4 +295,4 @@ For updating from a version before 7.10.0, please refer to the [documentation](h
295295
$ docker run --name=bonita --link mydbpostgres:postgres -e "DB_NAME=newbonitadb" -e "DB_USER=newbonitauser" -e "DB_PASS=newbonitapass" -d -p 8081:8080 %%IMAGE%%:2022.1-u0
296296
```
297297

298-
For more details regarding Bonita update and for version before 7.10.0, see the [documentation](https://documentation.bonitasoft.com/bonita/2022.1/version-update/migrate-from-an-earlier-version-of-bonita).
298+
For more details regarding Bonita update and for version before 7.10.0, see the [documentation](https://documentation.bonitasoft.com/bonita/latest/version-update/migrate-from-an-earlier-version-of-bonita).

bonita/stack.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ services:
3232
- |
3333
set -e
3434
echo 'Waiting for Postgres to be available'
35-
export PGPASSWORD=\$${POSTGRES_ENV_POSTGRES_PASSWORD}
35+
export PGPASSWORD="$$POSTGRES_ENV_POSTGRES_PASSWORD"
3636
maxTries=10
37-
while [[ "$$maxTries" -gt 0 ]] && ! psql -h \$${DB_HOST} -U 'postgres' -c '\l'; do
37+
while [ "$$maxTries" -gt 0 ] && ! psql -h "$$DB_HOST" -U 'postgres' -c '\l'; do
3838
let maxTries--
3939
sleep 1
4040
done
41-
if [[ "$$maxTries" -le 0 ]]; then
41+
if [ "$$maxTries" -le 0 ]; then
4242
echo >&2 'error: unable to contact Postgres after 10 tries'
4343
exit 1
4444
fi
45-
exec /opt/files/startup.sh
45+
exec /opt/files/startup.sh

0 commit comments

Comments
 (0)