Public | Automated Build

Last pushed: never
Short Description
Short description is empty for this repo.
Full Description

Step by step how to run:

  1. Build phpmyadmin image docker build --tag phpmyadmin . (optional for self built)
  2. Run official mysql container: docker run --name mysql -e MYSQL_ROOT_PASSWORD=mysecretpassword -d mysql:5.7.5-m15
  3. Run phpmyadmin: docker run --rm --link mysql:mysql mssio/phpmyadmin:4.3.10-1 (optional method to create database)
  4. Run backup script:
docker run --rm -it \
  -e "S3_BUCKET=your-bucket-name/your-path-to-mysql-backups/" \
  -e "AWS_ACCESS_KEY_ID=your-aws-access-key-id" \
  -e "AWS_SECRET_ACCESS_KEY=your-aws-secret-access-key" \
  -e "BACKUP_INTERVAL=3600" \
  -e "DB_NAME=mydb" \
  -e "DB_USER=root" \
  -e "DB_PASSWORD=some-mysecretpassword" \
  --link mysql:mysql \

This project is created based on article in Giant Swarm

Docker Pull Command
Source Repository