Easy way to integrate Ruby Backup + Cron into your docker project. Container runs cron -f.
Postgres 9.6, MySQL, Ruby Backup gem, Whenever gem
Note Ruby backup uses pg_dump and the version of pg_dump must match the database server you're backing up. This image currently has v 9.6 pg_dump
rubybackupcron: image: cuhaos/ruby-backup-cron:0.0.10 volumes: #optionally include your own ruby backup model and whenever schedule # - ./appbackup.rb:/root/Backup/models/appbackup.rb # - ./schedule.rb:/root/Backup/schedule.rb - ./backups:/backups environment: - DB_USER=pguser - DB_PASS=pgpass - DB_NAME=my_db_name - DB_HOST=dbhostname
Docker Pull Command