Skip to content

Commit

Permalink
expire binlog
Browse files Browse the repository at this point in the history
  • Loading branch information
HPPinata authored Dec 15, 2024
1 parent 2f4de23 commit ff41cf0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
db:
image: mariadb:10.11
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW --expire-logs-days=7 --slave_connections_needed_for_purge=0
restart: always
volumes:
- db:/var/lib/mysql:Z
Expand Down
2 changes: 1 addition & 1 deletion .examples/docker-compose/insecure/mariadb/fpm/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
db:
image: mariadb:10.11
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW --expire-logs-days=7 --slave_connections_needed_for_purge=0
restart: always
volumes:
- db:/var/lib/mysql:Z
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
db:
image: mariadb:10.11
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW --expire-logs-days=7 --slave_connections_needed_for_purge=0
restart: always
volumes:
- db:/var/lib/mysql:Z
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
db:
image: mariadb:10.11
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW --expire-logs-days=7 --slave_connections_needed_for_purge=0
restart: always
volumes:
- db:/var/lib/mysql:Z
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ services:
db:
image: mariadb:10.11
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW --expire-logs-days=7 --slave_connections_needed_for_purge=0
volumes:
- db:/var/lib/mysql
environment:
Expand Down Expand Up @@ -440,7 +440,7 @@ services:
db:
image: mariadb:10.11
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW --expire-logs-days=7 --slave_connections_needed_for_purge=0
volumes:
- db:/var/lib/mysql
environment:
Expand Down

0 comments on commit ff41cf0

Please sign in to comment.