Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDOCKER-165: Add image for XWiki on MariaDB (docs) #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

grooverdan
Copy link

Thank you for putting up a MariaDB based Docker Library official image. As the Docker Library maintainer for MariaDB I felt honoured to try it out.

The things I've changed in this PR are:

  • Add a section for starting XWiki with MariaDB
  • Changes starting mariadb using name mariadb-xwiki
  • Used MARIADB_* environment variables for initialization of MariaDB
    container.
  • --character-set-server=utf8mb4 is the default in MariaDB container,
    omit for simplicity.

Things that might be unnecessary are:

/my/path/{mariadb,mysql}-init, both MySQL and MariaDB use the environment variables MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE and MARIADB_* equivalents to create GRANT ALL on $MYSQL_DATABASE.* TO $MYSQL_USER@%. Is there some global privilege required?

As xwiki (as far as I see) doesn't use the root password, perhaps using MARIADB_RANDOM_ROOT_PASSWORD=1 / MYSQL_RANDOM_ROOT_PASSWORD=1 to hide its use from ordinary users.

Collation - the setting to utf8_bin, is this a need for case sensitive collations?

You are welcome to use the container images from the pre-release in your CI to ensure that we don't regress anything in the server that affects xwiki - https://mariadb.org/new-service-quay-io-mariadb-foundation-mariadb-devel/.

* Add a section for starting XWiki with MariaDB
* Changes starting mariadb using name mariadb-xwiki
* Used MARIADB_* environment variables for initialization of MariaDB
  container.
* --character-set-server=utf8mb4 is the default in MariaDB container,
  omit for simplicity.
@vmassol vmassol self-assigned this Feb 17, 2022
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.

2 participants