Skip to content

Commit bd0f814

Browse files
committed
chore: disable binary logging in standalone mysql
1 parent 413779b commit bd0f814

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker-compose.standalone.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ services:
1717
volumes:
1818
- mysql-data:/var/lib/mysql
1919
# - ./docker/production/data/mysql:/var/lib/mysql
20-
#command: --authentication-policy=mysql_native_password
20+
command:
21+
- "--skip-log-bin"
2122
healthcheck:
2223
test: "/usr/bin/mysql --host=127.0.0.1 --user=root --password=\"${STANDALONE_MYSQL_ROOT_PASSWORD}\" --execute \"SHOW DATABASES;\""
2324
interval: 1s

0 commit comments

Comments
 (0)