Skip to content

Commit

Permalink
Variable rename and README update per Comment 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin Morris committed Oct 30, 2023
1 parent 672b564 commit 06ef6f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mariadb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN --mount=type=cache,id=mariadb-apk-${TARGETARCH},sharing=locked,target=/var/c
# base image. Set to 10 minutes just incase it ran on very old or overallocated
# hardware.
ENV S6_CMD_WAIT_FOR_SERVICES_MAXTIME=600000
# Default value of 256 MB in bytes
ENV DB_MAX_ALLOWED_PACKET=268435456
# Default Mariadb value of 16 MB (bytes)
ENV MYSQL_MAX_ALLOWED_PACKET=16777216

COPY --link rootfs /
1 change: 1 addition & 0 deletions mariadb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ default database connection configuration.
| :------------------- | :------ | :------------------------------------------------------------------------------------ |
| MYSQL_ROOT_PASSWORD | | The database root user password. Defaults to `DB_ROOT_PASSWORD` |
| MYSQL_ROOT_USER | | The database root user (used to create the site database). Defaults to `DB_ROOT_USER` |
| MYSQL_MAX_ALLOWED_PACKET | 16777216 | Max packet length to send to or receive from the server, [documentation](https://mariadb.com/docs/server/ref/mdb/system-variables/max_allowed_packet/) |

## Logs

Expand Down

0 comments on commit 06ef6f9

Please sign in to comment.