mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-04 19:03:39 +00:00
Merge remote-tracking branch 'origin/master' into nightly
This commit is contained in:
commit
c4cc7279fc
1
changelog.d/20231023_155558_fghaas_binlog_expiry.md
Normal file
1
changelog.d/20231023_155558_fghaas_binlog_expiry.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
[Improvement] When configured with `RUN_MYSQL: true`, run `mysqld` with binlog expiry set to 3 days (rather than the default of 30).
|
@ -392,7 +392,11 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: mysql
|
- name: mysql
|
||||||
image: {{ DOCKER_IMAGE_MYSQL }}
|
image: {{ DOCKER_IMAGE_MYSQL }}
|
||||||
args: ["mysqld", "--character-set-server=utf8mb3", "--collation-server=utf8mb3_general_ci"]
|
args:
|
||||||
|
- "mysqld"
|
||||||
|
- "--character-set-server=utf8mb3"
|
||||||
|
- "--collation-server=utf8mb3_general_ci"
|
||||||
|
- "--binlog-expire-logs-seconds=259200"
|
||||||
env:
|
env:
|
||||||
- name: MYSQL_ROOT_PASSWORD
|
- name: MYSQL_ROOT_PASSWORD
|
||||||
value: "{{ MYSQL_ROOT_PASSWORD }}"
|
value: "{{ MYSQL_ROOT_PASSWORD }}"
|
||||||
|
@ -40,7 +40,11 @@ services:
|
|||||||
{% if RUN_MYSQL -%}
|
{% if RUN_MYSQL -%}
|
||||||
mysql:
|
mysql:
|
||||||
image: {{ DOCKER_IMAGE_MYSQL }}
|
image: {{ DOCKER_IMAGE_MYSQL }}
|
||||||
command: mysqld --character-set-server=utf8mb3 --collation-server=utf8mb3_general_ci
|
command: >
|
||||||
|
mysqld
|
||||||
|
--character-set-server=utf8mb3
|
||||||
|
--collation-server=utf8mb3_general_ci
|
||||||
|
--binlog-expire-logs-seconds=259200
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
user: "999:999"
|
user: "999:999"
|
||||||
volumes:
|
volumes:
|
||||||
|
Loading…
Reference in New Issue
Block a user