Update rendered example
This commit is contained in:
parent
e16c19a21f
commit
9ad247b9ee
|
@ -1,4 +1,4 @@
|
|||
FROM danielberteaud/mariadb-client:24.1-2
|
||||
FROM danielberteaud/mariadb-client:24.2-1
|
||||
MAINTAINER Daniel Berteaud <dbd@ehtrace.com>
|
||||
|
||||
RUN set -eux &&\
|
||||
|
|
|
@ -21,6 +21,7 @@ job "mariadb-manage" {
|
|||
proxy {
|
||||
upstreams {
|
||||
destination_name = "mariadb"
|
||||
destination_type = "service"
|
||||
local_bind_port = 3306
|
||||
}
|
||||
}
|
||||
|
@ -55,7 +56,7 @@ job "mariadb-manage" {
|
|||
user = 1053
|
||||
|
||||
config {
|
||||
image = "danielberteaud/wait-for:24.1-1"
|
||||
image = "danielberteaud/wait-for:24.2-1"
|
||||
readonly_rootfs = true
|
||||
pids_limit = 20
|
||||
}
|
||||
|
@ -81,7 +82,7 @@ job "mariadb-manage" {
|
|||
driver = "docker"
|
||||
|
||||
config {
|
||||
image = "danielberteaud/mariadb-client:24.1-2"
|
||||
image = "danielberteaud/mariadb-client:24.2-1"
|
||||
pids_limit = 50
|
||||
readonly_rootfs = true
|
||||
command = "/local/manage.sh"
|
||||
|
@ -95,6 +96,7 @@ job "mariadb-manage" {
|
|||
policies = ["mariadb"]
|
||||
env = false
|
||||
disable_file = true
|
||||
change_mode = "noop"
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ job "mariadb" {
|
|||
}
|
||||
|
||||
config {
|
||||
image = "danielberteaud/mariadb:24.1-6"
|
||||
image = "danielberteaud/mariadb:24.2-1"
|
||||
pids_limit = 100
|
||||
command = "/local/mysql_upgrade.sh"
|
||||
}
|
||||
|
@ -86,6 +86,7 @@ job "mariadb" {
|
|||
policies = ["mariadb"]
|
||||
env = false
|
||||
disable_file = true
|
||||
change_mode = "noop"
|
||||
}
|
||||
|
||||
|
||||
|
@ -147,7 +148,7 @@ _EOT
|
|||
kill_timeout = "5m"
|
||||
|
||||
config {
|
||||
image = "danielberteaud/mariadb:24.1-6"
|
||||
image = "danielberteaud/mariadb:24.2-1"
|
||||
volumes = [
|
||||
"secrets/:/etc/my.cnf.d",
|
||||
"secrets/my.conf:/var/lib/mysql/.my.cnf:ro",
|
||||
|
@ -161,6 +162,7 @@ _EOT
|
|||
policies = ["mariadb"]
|
||||
env = false
|
||||
disable_file = true
|
||||
change_mode = "noop"
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue