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
project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) is one of the most popular database servers. Made by the original developers of MySQL."
- { env_var: "MYSQL_ROOT_PASSWORD", env_value: "ROOT_ACCESS_PASSWORD", desc: "Set this to root password for installation (minimum 4 characters & non-alphanumeric passwords must be properly escaped). (valid only for first run)" }
23
-
19
+
- {env_var: "MYSQL_ROOT_PASSWORD", env_value: "ROOT_ACCESS_PASSWORD", desc: "Set this to root password for installation (minimum 4 characters & non-alphanumeric passwords must be properly escaped). (valid only for first run)"}
- { external_port: "3306", internal_port: "3306", port_desc: "MariaDB listens on this port." }
30
-
25
+
- {external_port: "3306", internal_port: "3306", port_desc: "MariaDB listens on this port."}
31
26
# optional container parameters
32
27
opt_param_usage_include_env: true
33
28
opt_param_env_vars:
34
-
- { env_var: "MYSQL_DATABASE", env_value: "USER_DB_NAME", desc: "Specify the name of a database to be created. (valid only for first run)" }
35
-
- { env_var: "MYSQL_USER", env_value: "MYSQL_USER", desc: "This user will have superuser access to the database specified by MYSQL_DATABASE (do not use root here). (valid only for first run)" }
36
-
- { env_var: "MYSQL_PASSWORD", env_value: "DATABASE_PASSWORD", desc: "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)" }
37
-
- { env_var: "REMOTE_SQL", env_value: "http://URL1/your.sql,https://URL2/your.sql", desc: "Set this to ingest sql files from an http/https endpoint (comma seperated array)." }
38
-
29
+
- {env_var: "MYSQL_DATABASE", env_value: "USER_DB_NAME", desc: "Specify the name of a database to be created. (valid only for first run)"}
30
+
- {env_var: "MYSQL_USER", env_value: "MYSQL_USER", desc: "This user will have superuser access to the database specified by MYSQL_DATABASE (do not use root here). (valid only for first run)"}
31
+
- {env_var: "MYSQL_PASSWORD", env_value: "DATABASE_PASSWORD", desc: "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)"}
32
+
- {env_var: "REMOTE_SQL", env_value: "http://URL1/your.sql,https://URL2/your.sql", desc: "Set this to ingest sql files from an http/https endpoint (comma seperated array)."}
39
33
# application setup block
40
34
app_setup_block_enabled: true
41
35
app_setup_block: |
@@ -101,32 +95,76 @@ app_setup_block: |
101
95
```shell
102
96
mariadb-upgrade -u root -p<PASSWORD>
103
97
```
104
-
98
+
# init diagram
99
+
init_diagram: |
100
+
"mariadb:latest": {
101
+
docker-mods
102
+
base {
103
+
fix-attr +\nlegacy cont-init
104
+
}
105
+
docker-mods -> base
106
+
legacy-services
107
+
custom services
108
+
init-services -> legacy-services
109
+
init-services -> custom services
110
+
custom services -> legacy-services
111
+
legacy-services -> ci-service-check
112
+
init-migrations -> init-adduser
113
+
init-os-end -> init-config
114
+
init-config -> init-config-end
115
+
init-mariadb-initdb -> init-config-end
116
+
init-os-end -> init-crontab-config
117
+
init-mods-end -> init-custom-files
118
+
base -> init-envfile
119
+
init-config -> init-mariadb-config
120
+
init-mariadb-config -> init-mariadb-initdb
121
+
svc-mariadb -> init-mariadb-upgrade
122
+
base -> init-migrations
123
+
base -> init-mods
124
+
init-config-end -> init-mods
125
+
init-mods -> init-mods-end
126
+
init-mods-package-install -> init-mods-end
127
+
init-mods -> init-mods-package-install
128
+
base -> init-os-end
129
+
init-adduser -> init-os-end
130
+
init-envfile -> init-os-end
131
+
init-migrations -> init-os-end
132
+
init-custom-files -> init-services
133
+
init-mods-end -> init-services
134
+
init-services -> svc-cron
135
+
svc-cron -> legacy-services
136
+
init-services -> svc-mariadb
137
+
svc-mariadb -> legacy-services
138
+
}
139
+
Base Images: {
140
+
"baseimage-alpine:3.20"
141
+
}
142
+
"mariadb:latest" <- Base Images
105
143
# changelog
106
144
changelogs:
107
-
- {date: "31.05.24:", desc: "Rebase to Alpine 3.20."}
108
-
- {date: "23.12.23:", desc: "Rebase to Alpine 3.19."}
109
-
- {date: "09.06.23:", desc: "Update lc_messages path in shipped custom.cnf to match upstream."}
110
-
- {date: "25.05.23:", desc: "Rebase to Alpine 3.18, deprecate armhf."}
111
-
- {date: "04.02.23:", desc: "Minor updates to defaults in custom.cnf."}
- {date: "11.10.22:", desc: "Rebase master to Alpine 3.16, migrate to s6v3, remove password escape logic which caused problems for a small subset of users."}
115
-
- {date: "06.07.21:", desc: "Rebase master to alpine."}
116
-
- {date: "03.07.21:", desc: "Rebase to 3.14."}
117
-
- {date: "08.02.21:", desc: "Fix new installs."}
118
-
- {date: "08.02.21:", desc: "Rebase to alpine. Add mariadb-backup."}
119
-
- {date: "08.02.21:", desc: "Release alpine tag. The alpine release will replace the latest tag in the near future."}
120
-
- {date: "27.10.19:", desc: "Bump to 10.4, ability use custom sql on initial init ,defining root passwords via file."}
121
-
- {date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag."}
122
-
- {date: "07.03.19:", desc: "Add ability to setup a database and default user on first spinup."}
123
-
- {date: "26.01.19:", desc: "Add pipeline logic and multi arch."}
124
-
- {date: "10.09.18:", desc: "Rebase to ubuntu bionic and use 10.3 MariaDB repository."}
- {date: "11.10.16:", desc: "Rebase to ubuntu xenial, add version labelling."}
129
-
- {date: "09.03.16:", desc: "Update to MariaDB 10.1. Change to use custom.cnf over my.cnf in /config. Restructured init files to change config options on startup, rather than in the dockerfile."}
130
-
- {date: "26.01.16:", desc: "Change user of mysqld_safe script to abc, better unclean shutdown handling on restart."}
131
-
- {date: "23.12.15:", desc: "Remove autoupdating, between some version updates the container breaks."}
132
-
- {date: "12.08.15:", desc: "Initial Release."}
145
+
- {date: "31.05.24:", desc: "Rebase to Alpine 3.20."}
146
+
- {date: "23.12.23:", desc: "Rebase to Alpine 3.19."}
147
+
- {date: "09.06.23:", desc: "Update lc_messages path in shipped custom.cnf to match upstream."}
148
+
- {date: "25.05.23:", desc: "Rebase to Alpine 3.18, deprecate armhf."}
149
+
- {date: "04.02.23:", desc: "Minor updates to defaults in custom.cnf."}
- {date: "11.10.22:", desc: "Rebase master to Alpine 3.16, migrate to s6v3, remove password escape logic which caused problems for a small subset of users."}
153
+
- {date: "06.07.21:", desc: "Rebase master to alpine."}
154
+
- {date: "03.07.21:", desc: "Rebase to 3.14."}
155
+
- {date: "08.02.21:", desc: "Fix new installs."}
156
+
- {date: "08.02.21:", desc: "Rebase to alpine. Add mariadb-backup."}
157
+
- {date: "08.02.21:", desc: "Release alpine tag. The alpine release will replace the latest tag in the near future."}
158
+
- {date: "27.10.19:", desc: "Bump to 10.4, ability use custom sql on initial init ,defining root passwords via file."}
159
+
- {date: "23.03.19:", desc: "Switching to new Base images, shift to arm32v7 tag."}
160
+
- {date: "07.03.19:", desc: "Add ability to setup a database and default user on first spinup."}
161
+
- {date: "26.01.19:", desc: "Add pipeline logic and multi arch."}
162
+
- {date: "10.09.18:", desc: "Rebase to ubuntu bionic and use 10.3 MariaDB repository."}
- {date: "11.10.16:", desc: "Rebase to ubuntu xenial, add version labelling."}
167
+
- {date: "09.03.16:", desc: "Update to MariaDB 10.1. Change to use custom.cnf over my.cnf in /config. Restructured init files to change config options on startup, rather than in the dockerfile."}
168
+
- {date: "26.01.16:", desc: "Change user of mysqld_safe script to abc, better unclean shutdown handling on restart."}
169
+
- {date: "23.12.15:", desc: "Remove autoupdating, between some version updates the container breaks."}
0 commit comments