Skip to content

Commit 6af0616

Browse files
Bot Updating Templated Files
1 parent 44af0a6 commit 6af0616

File tree

1 file changed

+80
-42
lines changed

1 file changed

+80
-42
lines changed

readme-vars.yml

Lines changed: 80 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,29 @@ project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/ma
77
project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) is one of the most popular database servers. Made by the original developers of MySQL."
88
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
99
project_blurb_optional_extras_enabled: false
10-
1110
# supported architectures
1211
available_architectures:
13-
- { arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
14-
- { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
15-
12+
- {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
13+
- {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
1614
# container parameters
1715
common_param_env_vars_enabled: true
1816
param_container_name: "{{ project_name }}"
19-
2017
param_usage_include_env: true
2118
param_env_vars:
22-
- { 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)"}
2420
param_usage_include_vols: true
2521
param_volumes:
26-
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Persistent config files" }
22+
- {vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/config", desc: "Persistent config files"}
2723
param_usage_include_ports: true
2824
param_ports:
29-
- { 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."}
3126
# optional container parameters
3227
opt_param_usage_include_env: true
3328
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)."}
3933
# application setup block
4034
app_setup_block_enabled: true
4135
app_setup_block: |
@@ -101,32 +95,76 @@ app_setup_block: |
10195
```shell
10296
mariadb-upgrade -u root -p<PASSWORD>
10397
```
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
105143
# changelog
106144
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." }
112-
- { date: "31.01.23:", desc: "Rebase to 3.17." }
113-
- { date: "09.12.22:", desc: "Add upgrade check warning." }
114-
- { 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." }
125-
- { date: "09.12.17:", desc: "Fix continuation lines." }
126-
- { date: "12.09.17:", desc: "Gracefully shut down MariaDB." }
127-
- { date: "27.10.16:", desc: "Implement linting suggestions on database init script." }
128-
- { 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."}
150+
- {date: "31.01.23:", desc: "Rebase to 3.17."}
151+
- {date: "09.12.22:", desc: "Add upgrade check warning."}
152+
- {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."}
163+
- {date: "09.12.17:", desc: "Fix continuation lines."}
164+
- {date: "12.09.17:", desc: "Gracefully shut down MariaDB."}
165+
- {date: "27.10.16:", desc: "Implement linting suggestions on database init script."}
166+
- {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."}
170+
- {date: "12.08.15:", desc: "Initial Release."}

0 commit comments

Comments
 (0)