You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-9Lines changed: 15 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,14 +67,19 @@ The architectures supported by this image are:
67
67
68
68
You have to replace the following values with your defaults:
69
69
70
-
- the database username "your_db_user"
71
-
- the database password "your_db_pass"
72
-
- the database schema name "your_db_name"
73
-
- the database host or IP "your_db_host"
74
-
- you might have to adapt port "3306" as well
70
+
* the database username "your_db_user"
71
+
* the database password "your_db_pass"
72
+
* the database schema name "your_db_name"
73
+
* the database host or IP "your_db_host"
74
+
* the database character set "your_db_charset" (usually "utf8")
75
+
* the database version "your_db_version"
76
+
* run `SELECT VERSION();` in your MariaDB/MySQL database to get the version
77
+
* example for [MariaDB](https://www.doctrine-project.org/projects/doctrine-dbal/en/current/reference/configuration.html#mariadb) use "10.11.4-MariaDB-log"
78
+
* example for [MySQL](https://www.doctrine-project.org/projects/doctrine-dbal/en/current/reference/configuration.html#mysql) use "8.0.32"
@@ -177,7 +182,7 @@ Container images are configured using parameters passed at runtime (such as thos
177
182
|`-e PUID=1000`| for UserID - see below for explanation |
178
183
|`-e PGID=1000`| for GroupID - see below for explanation |
179
184
|`-e TZ=Etc/UTC`| specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
180
-
|`-e DATABASE_URL=mysql://your_db_user:your_db_pass@your_db_host:3306/your_db_name`| Configure your database connection |
185
+
|`-e DATABASE_URL=mysql://your_db_user:your_db_pass@your_db_host:3306/your_db_name?charset=your_db_charset&serverVersion=your_db_version`| Configure your database connection, see Application Setup instructions.|
181
186
|`-v /config`| Configuration files. |
182
187
183
188
## Environment variables from files (Docker secrets)
@@ -289,4 +294,5 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
289
294
290
295
## Versions
291
296
297
+
***21.08.23:** - Important documentation update for setting `DATABASE_URL` with version 2.0.30 and later.
You have to replace the following values with your defaults:
54
54
55
-
- the database username "your_db_user"
56
-
- the database password "your_db_pass"
57
-
- the database schema name "your_db_name"
58
-
- the database host or IP "your_db_host"
59
-
- you might have to adapt port "3306" as well
55
+
* the database username "your_db_user"
56
+
* the database password "your_db_pass"
57
+
* the database schema name "your_db_name"
58
+
* the database host or IP "your_db_host"
59
+
* the database character set "your_db_charset" (usually "utf8")
60
+
* the database version "your_db_version"
61
+
* run `SELECT VERSION();` in your MariaDB/MySQL database to get the version
62
+
* example for [MariaDB](https://www.doctrine-project.org/projects/doctrine-dbal/en/current/reference/configuration.html#mariadb) use "10.11.4-MariaDB-log"
63
+
* example for [MySQL](https://www.doctrine-project.org/projects/doctrine-dbal/en/current/reference/configuration.html#mysql) use "8.0.32"
0 commit comments