{"id":21665353,"url":"https://github.com/dlueth/qoopido.docker.mariadb","last_synced_at":"2026-04-02T18:53:23.247Z","repository":{"id":33039522,"uuid":"36675324","full_name":"dlueth/qoopido.docker.mariadb","owner":"dlueth","description":null,"archived":false,"fork":false,"pushed_at":"2016-12-22T11:47:52.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T08:08:22.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dlueth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-01T17:02:03.000Z","updated_at":"2016-02-09T20:54:43.000Z","dependencies_parsed_at":"2022-08-29T18:00:52.940Z","dependency_job_id":null,"html_url":"https://github.com/dlueth/qoopido.docker.mariadb","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlueth%2Fqoopido.docker.mariadb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlueth%2Fqoopido.docker.mariadb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlueth%2Fqoopido.docker.mariadb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlueth%2Fqoopido.docker.mariadb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dlueth","download_url":"https://codeload.github.com/dlueth/qoopido.docker.mariadb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244562475,"owners_count":20472660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T10:50:06.368Z","updated_at":"2025-12-30T22:55:05.257Z","avatar_url":"https://github.com/dlueth.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# recommended directory structure #\nLike with my other containers I encourage you to follow a unified directory structure approach to keep things simple \u0026 maintainable, e.g.:\n\n```\nproject root\n  - docker_compose.yaml\n  - config\n    - mariadb\n      - conf.d\n        - ...\n  -data \n    - mariadb\n      - logs\n      - database\n        - dump.sql\n```\n\n# Example docker-compose.yaml #\n```\ndb:\n  image: qoopido/mariadb:latest\n  ports:\n   - \"3306:3306\"\n  volumes:\n   - ./config:/app/config\n   - ./data/mariadb:/app/data\n```\n\n# Or start container manually #\n```\ndocker run -d -P -t -i -p 3306:3306 \\\n\t-v [local path to config]:/app/config \\\n\t-v [local path to data]:/app/data \\\n\t--name db qoopido/mariadb:latest\n```\n\n# Credentials #\n```root``` is restricted to access from localhost and does not have any password. ```admin``` is provided for general access using ```fyoDBafo``` as password.\n\n# Database import/export #\nThis container will create a file named ```dump.sql``` in ```/app/data/database``` on first execution and will export a fresh dump whenever the container gets stopped. If the file exists it will get imported when the container is started again.\n\nBoth im- and export will take some time but have major advantages regarding git or svn versioning. For bigger databases please make sure to add e.g. ```-t 600``` (default is 10, afterwards docker force-kills the container) option to ```docker-compose up``` as well as ```docker stop``` and ```docker-compose stop``` to ensure the dump can be imported/exported successfully before container shutdown.\n\n# Configuration #\nAny files under ```/app/config``` will be symlinked into the container's filesystem beginning at ```/etc/mysql```. This can be used to overwrite the container's default maria configuration with a custom, project specific configuration.\n\nIf you need a custom shell script to be run on start or stop (e.g. to set symlinks) you can do so by creating the file ```/app/config/up.sh``` or ```/app/config/down.sh```.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlueth%2Fqoopido.docker.mariadb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdlueth%2Fqoopido.docker.mariadb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlueth%2Fqoopido.docker.mariadb/lists"}