Skip to content

Commit ed2d316

Browse files
Bot Updating Documentation
1 parent dc15dd8 commit ed2d316

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/images/docker-mariadb.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ services:
137137
- MYSQL_USER=MYSQL_USER #optional
138138
- MYSQL_PASSWORD=DATABASE_PASSWORD #optional
139139
- REMOTE_SQL=http://URL1/your.sql,https://URL2/your.sql #optional
140+
- CLI_OPTS= #optional
140141
volumes:
141142
- /path/to/mariadb/config:/config
142143
ports:
@@ -157,6 +158,7 @@ docker run -d \
157158
-e MYSQL_USER=MYSQL_USER `#optional` \
158159
-e MYSQL_PASSWORD=DATABASE_PASSWORD `#optional` \
159160
-e REMOTE_SQL=http://URL1/your.sql,https://URL2/your.sql `#optional` \
161+
-e CLI_OPTS= `#optional` \
160162
-p 3306:3306 \
161163
-v /path/to/mariadb/config:/config \
162164
--restart unless-stopped \
@@ -185,6 +187,7 @@ Containers are configured using parameters passed at runtime (such as those abov
185187
| `MYSQL_USER=MYSQL_USER` | This user will have superuser access to the database specified by MYSQL_DATABASE (do not use root here). (valid only for first run) |
186188
| `MYSQL_PASSWORD=DATABASE_PASSWORD` | Set this to the password you want to use for you MYSQL_USER (minimum 4 characters & non-alphanumeric passwords must be properly escaped). (valid only for first run) |
187189
| `REMOTE_SQL=http://URL1/your.sql,https://URL2/your.sql` | Set this to ingest sql files from an http/https endpoint (comma seperated array). |
190+
| `CLI_OPTS=` | Pass CLI options to mariadbd via mariadbd-safe. Use with caution as mariadbd option precedence is complex. |
188191

189192
### Volume Mappings (`-v`)
190193

@@ -403,13 +406,14 @@ To help with development, we generate this dependency graph.
403406
svc-mariadb -> legacy-services
404407
}
405408
Base Images: {
406-
"baseimage-alpine:3.22"
409+
"baseimage-alpine:3.23"
407410
}
408411
"mariadb:latest" <- Base Images
409412
```
410413

411414
## Versions
412415

416+
* **14.02.25:** - Rebase to Alpine 3.23. Add ability to pass CLI options to mariadbd.
413417
* **09.07.25:** - Rebase to Alpine 3.22.
414418
* **11.01.25:** - Add log rotation, follow the instructions in the container log.
415419
* **06.01.25:** - Rebase to Alpine 3.21.

0 commit comments

Comments
 (0)