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

Question: does it work with mariadb? #2

Closed
dazinator opened this issue Sep 6, 2022 · 2 comments
Closed

Question: does it work with mariadb? #2

dazinator opened this issue Sep 6, 2022 · 2 comments

Comments

@dazinator
Copy link

Hi,

I am using MariaDb instead of Mysql container for my WordPress db. I know the two are largely compatible.

My question: do you know if this is supported?

@angelo-v
Copy link
Owner

angelo-v commented Sep 7, 2022

Sorry I do not know and have not tested it, but you can give it a try

@dazinator
Copy link
Author

I got this working on docker swarm and mariadb - the only thing I wasn't able to solve was, being able to pass the database root / user passwords as files which I raised this issue for: angelo-v/wordpress-backup#35

  1. I had to to give my service an alias of mysql so that the backup service could still see it on the network:

e.g

services:
  db:
    image: mariadb
    #restart: always
    networks:   
      maria-db:
        aliases: # https://github.com/moby/moby/issues/38066
          - mysql # required as backup container makes call on this hostname
          
# omitted for brevity

Finished: SUCCESS

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

No branches or pull requests

2 participants