This deployment comes with admine, it requires a volume for mysql mysql-data. Common environment variables can be set in an env file; there is a sample config file in this repository: config/local.env
-
Create volumes (once)
docker volume create mysql-data
-
Run with Docker Compose
cd <project root> docker-compose --env-file ./config/local.env up -d
-
Delete the deployment
cd <project root> docker-compose down
-
Take database backup
mysqldump -h 0.0.0.0 -u<username> -p<password> <database> [<tablename>] > <backup_filename>.sql