Updated MySQL startup options and updated PostgreSQL version from 14 to 15

This commit is contained in:
Alexey Pustovalov 2023-09-28 14:00:39 +09:00
parent 53dc4d1d7e
commit a201f0a56d
16 changed files with 48 additions and 28 deletions

View File

@ -424,8 +424,9 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --skip-character-set-client-handshake
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
# Use TLS encryption for connections to database
# - --require-secure-transport
# - --ssl-ca=/run/secrets/root-ca.pem
# - --ssl-cert=/run/secrets/server-cert.pem

View File

@ -518,8 +518,9 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --skip-character-set-client-handshake
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
# Use TLS encryption for connections to database
# - --require-secure-transport
# - --ssl-ca=/run/secrets/root-ca.pem
# - --ssl-cert=/run/secrets/server-cert.pem

View File

@ -417,8 +417,8 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --skip-character-set-client-handshake
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
volumes:
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
env_file:
@ -436,7 +436,7 @@ services:
- mysql-database
postgres-server:
image: postgres:14-alpine
image: postgres:15-alpine
# command: -c ssl=on -c ssl_cert_file=/run/secrets/server-cert.pem -c ssl_key_file=/run/secrets/server-key.pem -c ssl_ca_file=/run/secrets/root-ca.pem
volumes:
- ./zbx_env/var/lib/postgresql/data:/var/lib/postgresql/data:rw

View File

@ -524,8 +524,8 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --skip-character-set-client-handshake
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
volumes:
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
env_file:
@ -543,7 +543,7 @@ services:
- mysql-database
postgres-server:
image: postgres:14-alpine
image: postgres:15-alpine
# command: -c ssl=on -c ssl_cert_file=/run/secrets/server-cert.pem -c ssl_key_file=/run/secrets/server-key.pem -c ssl_ca_file=/run/secrets/root-ca.pem
volumes:
- ./zbx_env/var/lib/postgresql/data:/var/lib/postgresql/data:rw

View File

@ -424,7 +424,9 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
# Use TLS encryption for connections to database
# - --require-secure-transport
# - --ssl-ca=/run/secrets/root-ca.pem
# - --ssl-cert=/run/secrets/server-cert.pem

View File

@ -518,7 +518,9 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
# Use TLS encryption for connections to database
# - --require-secure-transport
# - --ssl-ca=/run/secrets/root-ca.pem
# - --ssl-cert=/run/secrets/server-cert.pem

View File

@ -417,7 +417,8 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
volumes:
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
env_file:
@ -435,7 +436,7 @@ services:
- mysql-database
postgres-server:
image: postgres:14-alpine
image: postgres:15-alpine
# command: -c ssl=on -c ssl_cert_file=/run/secrets/server-cert.pem -c ssl_key_file=/run/secrets/server-key.pem -c ssl_ca_file=/run/secrets/root-ca.pem
volumes:
- ./zbx_env/var/lib/postgresql/data:/var/lib/postgresql/data:rw

View File

@ -524,7 +524,8 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
volumes:
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
env_file:
@ -542,7 +543,7 @@ services:
- mysql-database
postgres-server:
image: postgres:14-alpine
image: postgres:15-alpine
# command: -c ssl=on -c ssl_cert_file=/run/secrets/server-cert.pem -c ssl_key_file=/run/secrets/server-key.pem -c ssl_ca_file=/run/secrets/root-ca.pem
volumes:
- ./zbx_env/var/lib/postgresql/data:/var/lib/postgresql/data:rw

View File

@ -424,7 +424,9 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
# Use TLS encryption for connections to database
# - --require-secure-transport
# - --ssl-ca=/run/secrets/root-ca.pem
# - --ssl-cert=/run/secrets/server-cert.pem

View File

@ -518,7 +518,9 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
# Use TLS encryption for connections to database
# - --require-secure-transport
# - --ssl-ca=/run/secrets/root-ca.pem
# - --ssl-cert=/run/secrets/server-cert.pem

View File

@ -417,7 +417,8 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
volumes:
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
env_file:
@ -435,7 +436,7 @@ services:
- mysql-database
postgres-server:
image: postgres:14-alpine
image: postgres:15-alpine
# command: -c ssl=on -c ssl_cert_file=/run/secrets/server-cert.pem -c ssl_key_file=/run/secrets/server-key.pem -c ssl_ca_file=/run/secrets/root-ca.pem
volumes:
- ./zbx_env/var/lib/postgresql/data:/var/lib/postgresql/data:rw

View File

@ -524,7 +524,8 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
volumes:
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
env_file:
@ -542,7 +543,7 @@ services:
- mysql-database
postgres-server:
image: postgres:14-alpine
image: postgres:15-alpine
# command: -c ssl=on -c ssl_cert_file=/run/secrets/server-cert.pem -c ssl_key_file=/run/secrets/server-key.pem -c ssl_ca_file=/run/secrets/root-ca.pem
volumes:
- ./zbx_env/var/lib/postgresql/data:/var/lib/postgresql/data:rw

View File

@ -416,7 +416,9 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
# Use TLS encryption for connections to database
# - --require-secure-transport
# - --ssl-ca=/run/secrets/root-ca.pem
# - --ssl-cert=/run/secrets/server-cert.pem

View File

@ -512,7 +512,9 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
# Use TLS encryption for connections to database
# - --require-secure-transport
# - --ssl-ca=/run/secrets/root-ca.pem
# - --ssl-cert=/run/secrets/server-cert.pem

View File

@ -411,7 +411,8 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
volumes:
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
env_file:
@ -429,7 +430,7 @@ services:
- mysql-database
postgres-server:
image: postgres:14-alpine
image: postgres:15-alpine
# command: -c ssl=on -c ssl_cert_file=/run/secrets/server-cert.pem -c ssl_key_file=/run/secrets/server-key.pem -c ssl_ca_file=/run/secrets/root-ca.pem
volumes:
- ./zbx_env/var/lib/postgresql/data:/var/lib/postgresql/data:rw

View File

@ -518,7 +518,8 @@ services:
- mysqld
- --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin
- --default-authentication-plugin=mysql_native_password
# Only during upgrade from versions prior 6.4
# - --log_bin_trust_function_creators=1
volumes:
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw
env_file:
@ -536,7 +537,7 @@ services:
- mysql-database
postgres-server:
image: postgres:14-alpine
image: postgres:15-alpine
# command: -c ssl=on -c ssl_cert_file=/run/secrets/server-cert.pem -c ssl_key_file=/run/secrets/server-key.pem -c ssl_ca_file=/run/secrets/root-ca.pem
volumes:
- ./zbx_env/var/lib/postgresql/data:/var/lib/postgresql/data:rw