dina-web-nrm / collections-data-model-docker

Integration project for Complex Collection Objects data model proof of concept. (using liquibase and provides support for several database backends)
GNU Affero General Public License v3.0
0 stars 0 forks source link

Add mariadb support #1

Closed mskyttner closed 8 years ago

caalle commented 8 years ago

mariadb is a drop in replacement of mysql so it should just be a matter of changing the image in the docker-compose file.

Something like:

db:
  image: mariadb:10.0
  environment:
    - MYSQL_ROOT_PASSWORD=password12
    - MYSQL_DATABASE=cco
    - MYSQL_USER=dina
    - MYSQL_PASSWORD=password12
  ports:
    - "13306:3306"
  volumes_from:
    - fs
mskyttner commented 8 years ago

Good idea, it is now there, please try it out!