Skip to content

Make magebox respect default settings - #12

Merged
peterjaap merged 4 commits into
mainfrom
develop
Mar 14, 2026
Merged

peterjaap merged 4 commits into
mainfrom
develop

Conversation

@peterjaap

Copy link
Copy Markdown
Collaborator

No description provided.

macOS BSD sed requires `sed -i ''` while GNU sed uses `sed -i`.
Without the empty extension argument, BSD sed treats the regex as
the extension, causing "extra characters at the end of h command".
Mount ~/.magebox/docker/mysql-custom.cnf (or mariadb-custom.cnf) into
the container at /etc/mysql/conf.d/custom.cnf when the file exists,
enabling persistent MySQL configuration (e.g. binlog control, InnoDB
tuning) that survives docker-compose regeneration.

Closes #5
* fix-5-mysql-custom-config:
  fix: mount custom MySQL/MariaDB config in docker-compose
The init command was hardcoding php: "8.2" and mysql: "8.0" instead of
reading from the global config's default_php and default_services settings.
@peterjaap
peterjaap merged commit ce7f34d into main Mar 14, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant