fix(openmetadata): relocate MySQL datadir to 32GB data disk
The OM MySQL datadir was bind-mounted on the 448MB /opt partition and kept filling up. Moved db-data to /var/lib/docker/openmetadata-db-data (32GB, ~31GB free) and kept binlog disabled + redo log capped. /opt back to 7% used.
This commit is contained in:
@@ -19,7 +19,7 @@ services:
|
||||
mysql:
|
||||
container_name: openmetadata_mysql
|
||||
image: docker.getcollate.io/openmetadata/db:1.13.0
|
||||
command: "--sort_buffer_size=10M"
|
||||
command: "--sort_buffer_size=10M --skip-log-bin --innodb-redo-log-capacity=50331648"
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: password
|
||||
@@ -28,7 +28,9 @@ services:
|
||||
ports:
|
||||
- "3306:3306"
|
||||
volumes:
|
||||
- ./docker-volume/db-data:/var/lib/mysql
|
||||
# DB datadir relocated off the tiny 448MB /opt partition onto the 32GB
|
||||
# data disk (/var/lib/docker) so the OpenMetadata catalog can grow freely.
|
||||
- /var/lib/docker/openmetadata-db-data:/var/lib/mysql
|
||||
networks:
|
||||
- app_net
|
||||
healthcheck:
|
||||
|
||||
Reference in New Issue
Block a user