[bitnami/mariadb] specifically mention how custom scripts are executed (#14472)

* specifically mention how custom scripts are executed

Signed-off-by: Robbert Korving <r.korving@gmail.com>

* added some formatting to custom file section in README

Signed-off-by: Robbert Korving <r.korving@gmail.com>

Signed-off-by: Robbert Korving <r.korving@gmail.com>
This commit is contained in:
Robbert Korving 2022-11-23 13:38:17 +01:00 committed by GitHub
parent 26b04ddeec
commit a996b2e7b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -176,7 +176,10 @@ $ docker-compose up -d
### Initializing a new instance
When the container is executed for the first time, it will execute the files with extensions `.sh`, `.sql` and `.sql.gz` located at `/docker-entrypoint-startdb.d`.
The container can execute custom files on the first start and on every start. Files with extensions `.sh`, `.sql` and `.sql.gz` are supported.
- Files in `/docker-entrypoint-initdb.d` will only execute on the first container start.
- Files in `/docker-entrypoint-startdb.d` will execute on every container start.
In order to have your custom files inside the docker image you can mount them as a volume.