Override the entrypoint in docker-compose.yml for the MariaDB Docker container by adding:
entrypoint: mysqld_safe --skip-grant-tables --user=mysql
The start up the Docker Compose stack:
$> docker-compose up -d
| version: '2' | |
| services: | |
| database: | |
| image: 'zulip/zulip-postgresql:10' | |
| environment: | |
| POSTGRES_DB: 'zulip' | |
| POSTGRES_USER: 'zulip' | |
| # Note that you need to do a manual `ALTER ROLE` query if you | |
| # change this on a system after booting the postgres container | |
| # the first time on a host. Instructions are available in README.md. |
| #!/bin/bash | |
| #============================================================================== | |
| #TITLE: mysql_backup.sh | |
| #DESCRIPTION: script for automating the daily mysql backups on development computer | |
| #AUTHOR: tleish | |
| #DATE: 2013-12-20 | |
| #VERSION: 0.4 | |
| #USAGE: ./mysql_backup.sh | |
| #CRON: | |
| # example cron for daily db backup @ 9:15 am |