From feba0cb52abdd070f905d6573edd8e49a7c19b4f Mon Sep 17 00:00:00 2001 From: LinuxServer-CI Date: Fri, 10 Feb 2023 23:47:26 -0600 Subject: [PATCH] Bot Updating Documentation --- images/docker-mariadb.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/images/docker-mariadb.md b/images/docker-mariadb.md index f4a8d759bf..62816e4e8b 100644 --- a/images/docker-mariadb.md +++ b/images/docker-mariadb.md @@ -31,7 +31,7 @@ The architectures supported by this image are: | :----: | :----: | ---- | | x86-64 | ✅ | amd64-\ | | arm64 | ✅ | arm64v8-\ | -| armhf| ✅ | arm32v7-\ | +| armhf | ✅ | arm32v7-\ | ## Application Setup @@ -101,8 +101,8 @@ services: environment: - PUID=1000 - PGID=1000 + - TZ=Etc/UTC - MYSQL_ROOT_PASSWORD=ROOT_ACCESS_PASSWORD - - TZ=Europe/London - MYSQL_DATABASE=USER_DB_NAME #optional - MYSQL_USER=MYSQL_USER #optional - MYSQL_PASSWORD=DATABASE_PASSWORD #optional @@ -121,8 +121,8 @@ docker run -d \ --name=mariadb \ -e PUID=1000 \ -e PGID=1000 \ + -e TZ=Etc/UTC \ -e MYSQL_ROOT_PASSWORD=ROOT_ACCESS_PASSWORD \ - -e TZ=Europe/London \ -e MYSQL_DATABASE=USER_DB_NAME `#optional` \ -e MYSQL_USER=MYSQL_USER `#optional` \ -e MYSQL_PASSWORD=DATABASE_PASSWORD `#optional` \ @@ -131,6 +131,7 @@ docker run -d \ -v path_to_data:/config \ --restart unless-stopped \ lscr.io/linuxserver/mariadb:latest + ``` ## Parameters @@ -149,8 +150,8 @@ Docker images are configured using parameters passed at runtime (such as those a | :----: | --- | | `PUID=1000` | for UserID - see below for explanation | | `PGID=1000` | for GroupID - see below for explanation | +| `TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). | | `MYSQL_ROOT_PASSWORD=ROOT_ACCESS_PASSWORD` | Set this to root password for installation (minimum 4 characters & non-alphanumeric passwords must be properly escaped). | -| `TZ=Europe/London` | Specify a timezone to use EG Europe/London. | | `MYSQL_DATABASE=USER_DB_NAME` | Specify the name of a database to be created on image startup. | | `MYSQL_USER=MYSQL_USER` | This user will have superuser access to the database specified by MYSQL_DATABASE (do not use root here). | | `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). |